public function handle() { $this->comment('Cleaning models...'); $cleanableModels = $this->getModelsThatShouldBeCleanedUp(); $this->cleanUp($cleanableModels); $this->comment('All done!'); }