Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy
SessionHandler proxy.
- Author: Drak <drak@zikula.org>
Synopsis
class SessionHandlerProxy
extends AbstractProxy
implements
SessionHandlerInterface
{
- // members
- protected SessionHandlerInterface $handler;
- // Inherited members from AbstractProxy
- protected boolean $wrapper;
- protected boolean $active;
- protected string $saveHandlerName;
- // methods
- public void __construct()
- public void open()
- public void close()
- public void read()
- public void write()
- public void destroy()
- public void gc()
- // Inherited methods from AbstractProxy
- public string getSaveHandlerName()
- public boolean isSessionHandlerInterface()
- public Boolean isWrapper()
- public Boolean isActive()
- public void setActive()
- public string getId()
- public void setId()
- public string getName()
- public void setName()
Hierarchy
Extends
Implements
Members
protected
- $active — boolean
- $handler — \SessionHandlerInterface
- $saveHandlerName — string
- $wrapper
—
boolean
Flag if handler wraps an internal PHP session handler (using \SessionHandler).
Methods
public
- __construct() — Constructor.
- close() — {@inheritdoc}
- destroy() — {@inheritdoc}
- gc() — {@inheritdoc}
- open() — {@inheritdoc}
- read() — {@inheritdoc}
- write() — {@inheritdoc}
Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy
public
- getId() — Gets the session ID.
- getName() — Gets the session name.
- getSaveHandlerName() — Gets the session.save_handler name.
- isActive() — Has a session started?
- isSessionHandlerInterface() — Is this proxy handler and instance of \SessionHandlerInterface.
- isWrapper() — Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
- setActive() — Sets the active flag.
- setId() — Sets the session ID.
- setName() — Sets the session name.