SymfonyComponentHttpFoundationSessionStorageProxyNativeProxy

NativeProxy.

This proxy is built-in session handlers in PHP 5.3.x

Summary

No protected methods found
N/A
No private methods found
No private properties found
N/A
File
vendorSymfonyComponentHttpFoundationSessionStorageProxyNativeProxy.php
Package
Default
Class hierarchy
SymfonyComponentHttpFoundationSessionStorageProxyNativeProxy

Tags

author

Drak drak@zikula.org

Properties

$wrapper

$wrapper : boolean

Flag if handler wraps an internal PHP session handler (using SessionHandler).

Type

boolean

$active

$active : boolean

Type

boolean

$saveHandlerName

$saveHandlerName : string

Type

string

Methods

getSaveHandlerName()

getSaveHandlerName() : string

Gets the session.save_handler name.

Returns

string

isSessionHandlerInterface()

isSessionHandlerInterface() : boolean

Is this proxy handler and instance of SessionHandlerInterface.

Returns

boolean

isWrapper()

isWrapper() : Boolean

Returns true if this handler wraps an internal PHP session save handler using SessionHandler.

Returns

Boolean —

False.

Tags

None found

isActive()

isActive() : Boolean

Has a session started?

Returns

Boolean

setActive()

setActive(Boolean  $flag) 

Sets the active flag.

Parameters

Boolean $flag

getId()

getId() : string

Gets the session ID.

Returns

string

setId()

setId(string  $id) 

Sets the session ID.

Parameters

string $id

Throws

LogicException

getName()

getName() : string

Gets the session name.

Returns

string

setName()

setName(string  $name) 

Sets the session name.

Parameters

string $name

Throws

LogicException

__construct()

__construct() 

Constructor.

Tags

None found