share(function () use ($app) { return new AccountService( $app['authentication'], $app['auth.password-encoder'], $app['dispatcher'], $app['orm.em'], $app['model.user-manager'], $app['manipulator.user'], $app['repo.users'] ); }); } /** * Bootstraps the application. * * This method is called after all services are registered * and should be used for "dynamic" configuration (whenever * a service must be requested). */ public function boot(Application $app) { // NO-OP return; } }