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