share(function (Application $app) { return new LogoutSubscriber(); }); $app['phraseanet.locale-subscriber'] = $app->share(function (Application $app) { return new PhraseaLocaleSubscriber($app); }); $app['phraseanet.maintenance-subscriber'] = $app->share(function (Application $app) { return new MaintenanceSubscriber($app); }); $app['phraseanet.cookie-disabler-subscriber'] = $app->share(function (Application $app) { return new CookiesDisablerSubscriber($app); }); $app['phraseanet.session-manager-subscriber'] = $app->share(function (Application $app) { return new SessionManagerSubscriber($app); }); $app['phraseanet.content-negotiation-subscriber'] = $app->share(function (Application $app) { return new ContentNegotiationSubscriber($app); }); $app['phraseanet.record-edit-subscriber'] = $app->share(function (Application $app) { return new RecordEditSubscriber(); }); } public function boot(Application $app) { } }