$kirby->session()
Returns the current session object
$kirby->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 $app
object it is applied to and returns it again.