interface SessionDriverInterface

Methods

build( SettingsRepositoryInterface $settings, Config $config)

Build a session handler to handle sessions.

Details

SessionHandlerInterface build( SettingsRepositoryInterface $settings, Config $config)

Build a session handler to handle sessions.

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

Parameters

SettingsRepositoryInterface $settings : An instance of the Flarum settings repository.
Config $config : An instance of the wrapper class around `config.php`.

Return Value

SessionHandlerInterface