$session->__call()
Magic call method that proxies all calls to session data methods
$session->__call(string $name, array $arguments): mixed
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $namerequired | string |
no default value | Method name (one of set, increment, decrement, get, pull, remove, clear) |
| $argumentsrequired | array |
no default value | Method arguments |
Return type
mixed
This method modifies the existing $session object it is applied to and returns it again.