public function boot(Application $app) { $app['dispatcher']->addSubscriber($app['session.listener']); }