getContainer(); /** * Controllers */ $container->registerService('LostController', function($c) { return new LostController( $c->query('AppName'), $c->query('Request'), $c->query('ServerContainer')->getURLGenerator(), '\OC_User', new \OC_Defaults(), $c->query('ServerContainer')->getL10N('core'), \OCP\Util::getDefaultEmailAddress('lostpassword-noreply'), \OC_App::isEnabled('files_encryption') ); }); } }