public function register() { $this->app['command.sae.patch'] = $this->app->share(function ($app) { return new Commands\Patch(); }); $this->commands('command.sae.patch'); }