SessionHandlerProxy
class SessionHandlerProxy extends AbstractProxy implements SessionHandlerInterface
SessionHandler proxy.
Methods
Is this proxy handler and instance of \SessionHandlerInterface.
Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
Details
in AbstractProxy at line line 38
string
getSaveHandlerName()
Gets the session.save_handler name.
in AbstractProxy at line line 48
bool
isSessionHandlerInterface()
Is this proxy handler and instance of \SessionHandlerInterface.
in AbstractProxy at line line 58
bool
isWrapper()
Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
in AbstractProxy at line line 68
bool
isActive()
Has a session started?
in AbstractProxy at line line 78
string
getId()
Gets the session ID.
in AbstractProxy at line line 90
setId(string $id)
Sets the session ID.
in AbstractProxy at line line 104
string
getName()
Gets the session name.
in AbstractProxy at line line 116
setName(string $name)
Sets the session name.
at line line 31
__construct(SessionHandlerInterface $handler)
Constructor.
at line line 43
open($savePath, $sessionName)
{@inheritdoc}
at line line 51
close()
{@inheritdoc}
at line line 59
read($sessionId)
{@inheritdoc}
at line line 67
write($sessionId, $data)
{@inheritdoc}
at line line 75
destroy($sessionId)
{@inheritdoc}
at line line 83
gc($maxlifetime)
{@inheritdoc}