class SessionHandlerProxy extends AbstractProxy implements SessionHandlerInterface, SessionUpdateTimestampHandlerInterface

Methods

string
getSaveHandlerName()

Gets the session.save_handler name.

bool
isSessionHandlerInterface()

Is this proxy handler and instance of \SessionHandlerInterface.

bool
isWrapper()

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

bool
isActive()

Has a session started?

string
getId()

Gets the session ID.

setId(string $id)

Sets the session ID.

string
getName()

Gets the session name.

setName(string $name)

Sets the session name.

__construct(SessionHandlerInterface $handler)

No description

open($savePath, $sessionName)

{@inheritdoc}

close()

{@inheritdoc}

read($sessionId)

{@inheritdoc}

write($sessionId, $data)

{@inheritdoc}

destroy($sessionId)

{@inheritdoc}

gc($maxlifetime)

{@inheritdoc}

validateId($sessionId)

{@inheritdoc}

updateTimestamp($sessionId, $data)

{@inheritdoc}

Details

in AbstractProxy at line line 36
string getSaveHandlerName()

Gets the session.save_handler name.

Return Value

string

in AbstractProxy at line line 46
bool isSessionHandlerInterface()

Is this proxy handler and instance of \SessionHandlerInterface.

Return Value

bool

in AbstractProxy at line line 56
bool isWrapper()

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

Return Value

bool

in AbstractProxy at line line 66
bool isActive()

Has a session started?

Return Value

bool

in AbstractProxy at line line 76
string getId()

Gets the session ID.

Return Value

string

in AbstractProxy at line line 88
setId(string $id)

Sets the session ID.

Parameters

string $id

Exceptions

LogicException

in AbstractProxy at line line 102
string getName()

Gets the session name.

Return Value

string

in AbstractProxy at line line 114
setName(string $name)

Sets the session name.

Parameters

string $name

Exceptions

LogicException

at line line 21
__construct(SessionHandlerInterface $handler)

Parameters

SessionHandlerInterface $handler

at line line 31
SessionHandlerInterface getHandler()

at line line 41
open($savePath, $sessionName)

{@inheritdoc}

Parameters

$savePath
$sessionName

at line line 49
close()

{@inheritdoc}

at line line 57
read($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line line 65
write($sessionId, $data)

{@inheritdoc}

Parameters

$sessionId
$data

at line line 73
destroy($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line line 81
gc($maxlifetime)

{@inheritdoc}

Parameters

$maxlifetime

at line line 89
validateId($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line line 97
updateTimestamp($sessionId, $data)

{@inheritdoc}

Parameters

$sessionId
$data