API Services ISessionService - chsxf/mfx GitHub Wiki
ISessionService Interface
interface ISessionService implements ArrayAccess
Summary
Session service interface
Since 2.0
Methods
setInSession
public abstract function setInSession(array $values): void
Sets a set of values in the current session
Since 2.0
Parameters
Name | Type | Description |
---|---|---|
$values |
array |
Associative array of values to set |
unsetInSession
public abstract function unsetInSession(string ...$keys): void
Unsets a set of values in the current session
Since 2.0
Parameters
Name | Type | Description |
---|---|---|
$keys |
string[] |
List of value keys to unset |