interface SessionDriverInterface

Methods

build(SettingsRepositoryInterface $settings, Config $config)

<p>Build a session handler to handle sessions.</p>

Details

SessionHandlerInterface build(SettingsRepositoryInterface $settings, Config $config)

<p>Build a session handler to handle sessions.</p>

<p>Settings and configuration can either be pulled from the Flarum settings repository or the config.php file.</p>

Parameters

SettingsRepositoryInterface $settings
Config $config

Return Value

SessionHandlerInterface