Class PHP
Implementation using PHP session.
- Aimeos\MW\Session\PHP implements Aimeos\MW\Session\Iface
Implementation using PHP session.
public
mixed
|
#
get( string $name, mixed $default = null )
Returns the value of the requested session key. Returns the value of the requested session key. If the returned value wasn't a string, it's decoded from its JSON representation. Parameters
Returns
mixed
Value associated to the requested key Implementation of |
public
|
#
set( string $name, mixed $value )
Sets the value for the specified key. Sets the value for the specified key. If the value isn't a string, it's encoded into a JSON representation and decoded again when using the get() method. Parameters
Implementation of |