Метод |
Описание |
|
__construct ( string | array | ManaPHP\Http\Session\AdapterInterface $options = [] ) |
Session constructor. |
|
__debugInfo ( ) : array |
|
|
__destruct ( ) |
|
|
clean ( ) : void |
|
|
destroy ( ) : void |
Destroys the active session |
|
get ( string $name = null, mixed $defaultValue = null ) : mixed |
Gets a session variable from an application context |
|
getSessionId ( ) : string |
|
|
has ( string $name ) : boolean |
Check whether a session variable is set in an application context |
|
offsetExists ( mixed $offset ) : boolean |
|
|
offsetGet ( mixed $offset ) : mixed |
|
|
offsetSet ( mixed $offset, mixed $value ) |
|
|
offsetUnset ( mixed $offset ) |
|
|
remove ( string $name ) |
Removes a session variable from an application context |
|
set ( string $name, mixed $value ) |
Sets a session variable in an application context |
|
setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static |
|
|