\Symfony\Component\HttpFoundation\Session\Storage\ProxySessionHandlerProxy

Summary

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

Properties

$wrapper

$wrapper : bool

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

Type

bool

$saveHandlerName

$saveHandlerName : string

Type

string

$handler

$handler

Methods

getSaveHandlerName()

getSaveHandlerName() : string|null

Gets the session.save_handler name.

Returns

string|null —

isSessionHandlerInterface()

isSessionHandlerInterface() : bool

Is this proxy handler and instance of \SessionHandlerInterface.

Returns

bool —

isWrapper()

isWrapper() : bool

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

Returns

bool —

isActive()

isActive() : bool

Has a session started?

Returns

bool —

getId()

getId() : string

Gets the session ID.

Returns

string —

setId()

setId(string  $id) : mixed

Sets the session ID.

Parameters

string $id

Throws

\LogicException

Returns

mixed —

getName()

getName() : string

Gets the session name.

Returns

string —

setName()

setName(string  $name) : mixed

Sets the session name.

Parameters

string $name

Throws

\LogicException

Returns

mixed —

__construct()

__construct(\SessionHandlerInterface  $handler) : mixed

Parameters

\SessionHandlerInterface $handler

Returns

mixed —

getHandler()

getHandler() : \SessionHandlerInterface

Returns

\SessionHandlerInterface —

open()

open(mixed  $savePath, mixed  $sessionName) : bool

Parameters

mixed $savePath
mixed $sessionName

Returns

bool —

close()

close() : bool

Returns

bool —

read()

read(mixed  $sessionId) : string|false

Parameters

mixed $sessionId

Returns

string|false —

write()

write(mixed  $sessionId, mixed  $data) : bool

Parameters

mixed $sessionId
mixed $data

Returns

bool —

destroy()

destroy(mixed  $sessionId) : bool

Parameters

mixed $sessionId

Returns

bool —

gc()

gc(mixed  $maxlifetime) : int|false

Parameters

mixed $maxlifetime

Returns

int|false —

validateId()

validateId(mixed  $sessionId) : bool

Parameters

mixed $sessionId

Returns

bool —

updateTimestamp()

updateTimestamp(mixed  $sessionId, mixed  $data) : bool

Parameters

mixed $sessionId
mixed $data

Returns

bool —