class SessionHandlerProxy extends AbstractProxy implements SessionHandlerInterface, SessionUpdateTimestampHandlerInterface
| protected bool | $wrapper | Flag if handler wraps an internal PHP session handler (using \SessionHandler). | from AbstractProxy |
| protected string | $saveHandlerName | from AbstractProxy | |
| protected | $handler |
| 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) | ||
| SessionHandlerInterface | getHandler() | |
| 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} |
Gets the session.save_handler name.
| string |
Is this proxy handler and instance of \SessionHandlerInterface.
| bool |
Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
| bool |
Has a session started?
| bool |
Gets the session ID.
| string |
Sets the session ID.
| string | $id |
| LogicException |
Gets the session name.
| string |
Sets the session name.
| string | $name |
| LogicException |
| SessionHandlerInterface | $handler |
| SessionHandlerInterface |
{@inheritdoc}
| $savePath | ||
| $sessionName |
{@inheritdoc}
{@inheritdoc}
| $sessionId |
{@inheritdoc}
| $sessionId | ||
| $data |
{@inheritdoc}
| $sessionId |
{@inheritdoc}
| $maxlifetime |
{@inheritdoc}
| $sessionId |
{@inheritdoc}
| $sessionId | ||
| $data |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.html