$api->session()
Returns the current Session instance
$api->session(array $options = [ ]): Kirby\Session\Session
Parameters
Name | Type | Default | Description |
---|---|---|---|
$options | array |
[ ]
|
Additional options, see the session component |
Return type
This method modifies the existing $api
object it is applied to and returns it again.