public function registerCommands() { // Clean command $this->app['command.clockwork.clean'] = $this->app->share(function ($app) { return new ClockworkCleanCommand(); }); $this->commands('command.clockwork.clean'); }