Bolt\Provider\SessionServiceProvider::registerFilesHandler PHP Method

registerFilesHandler() protected method

protected registerFilesHandler ( Silex\Application $app )
$app Silex\Application
    protected function registerFilesHandler(Application $app)
    {
        $app['session.handler_factory.files'] = $app->protect(function ($options) use($app) {
            return new FileHandler($options['save_path'], $app['logger.system']);
        });
    }