AbstractProxy
class AbstractProxy
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. |
Details
string getSaveHandlerName()
Gets the session.save_handler name.
Return Value
string |
bool isSessionHandlerInterface()
Is this proxy handler and instance of \SessionHandlerInterface.
Return Value
bool |
bool isWrapper()
Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
Return Value
bool |
bool isActive()
Has a session started?
Return Value
bool |
string getId()
Gets the session ID.
Return Value
string |
setId(string $id)
Sets the session ID.
Parameters
string | $id |
Exceptions
LogicException |
string getName()
Gets the session name.
Return Value
string |
setName(string $name)
Sets the session name.
Parameters
string | $name |
Exceptions
LogicException |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.html