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
Config $config

Return Value

SessionHandlerInterface