protected function registerMakeRepositoryCommand() { // Make repository command. $this->app['command.repository.make'] = $this->app->share(function ($app) { return new MakeRepositoryCommand($app['RepositoryCreator'], $app['Composer']); }); }