Метод |
Описание |
|
__construct ( string $name ) |
\ManaPHP\Session\Bag constructor |
|
destroy ( ) |
Destroys the session bag |
|
dump ( ) : array |
|
|
get ( string $property = null, string $defaultValue = null ) : mixed |
Obtains a value from the session bag optionally setting a default value |
|
has ( string $property ) : boolean |
Check whether a property is defined in the internal bag |
|
remove ( string $property ) : void |
Removes a property from the internal bag |
|
set ( string $property, mixed $value ) |
Sets a value in the session bag |
|