\Symfony\Component\HttpFoundation\Tests\Session\Storage\ProxyConcreteSessionHandlerInterfaceProxy

AbstractProxy.

Summary

Methods
Properties
Constants
getSaveHandlerName()
isSessionHandlerInterface()
isWrapper()
isActive()
getId()
setId()
getName()
setName()
open()
close()
read()
write()
destroy()
gc()
No public properties found
No constants found
No protected methods found
$wrapper
$saveHandlerName
N/A
No private methods found
No private properties found
N/A

Properties

$wrapper

$wrapper : boolean

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

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

isActive()

isActive() : boolean

Has a session started?

Returns

boolean

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

open()

open(  $savePath,   $sessionName) 

Parameters

$savePath
$sessionName

read()

read(  $id) 

Parameters

$id

write()

write(  $id,   $data) 

Parameters

$id
$data

destroy()

destroy(  $id) 

Parameters

$id

gc()

gc(  $maxlifetime) 

Parameters

$maxlifetime