class SessionHandlerProxy extends AbstractProxy implements SessionHandlerInterface
SessionHandler proxy.
Methods
string | getSaveHandlerName() Gets the session.save_handler name. | from AbstractProxy |
bool | isSessionHandlerInterface() Is this proxy handler and instance of \SessionHandlerInterface. | from AbstractProxy |
bool | isWrapper() Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. | from AbstractProxy |
bool | isActive() Has a session started? | from AbstractProxy |
string | getId() Gets the session ID. | from AbstractProxy |
setId(string $id) Sets the session ID. | from AbstractProxy | |
string | getName() Gets the session name. | from AbstractProxy |
setName(string $name) Sets the session name. | from AbstractProxy | |
__construct(SessionHandlerInterface $handler) Constructor. | ||
open($savePath, $sessionName) {@inheritdoc} | ||
close() {@inheritdoc} | ||
read($sessionId) {@inheritdoc} | ||
write($sessionId, $data) {@inheritdoc} | ||
destroy($sessionId) {@inheritdoc} | ||
gc($maxlifetime) {@inheritdoc} |
Details
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)
Constructor.
open($savePath, $sessionName)
{@inheritdoc}
close()
{@inheritdoc}
read($sessionId)
{@inheritdoc}
write($sessionId, $data)
{@inheritdoc}
destroy($sessionId)
{@inheritdoc}
gc($maxlifetime)
{@inheritdoc}
Please login to continue.