Skip to content

Kirby 4.4.1

$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

Kirby\Session\Session

Parent class

Kirby\Cms\Api