/** * Clean all built collections and the manifest entries. * * @return void */ public function cleanAll() { $collections = array_keys($this->environment->all()) + array_keys($this->manifest->all()); foreach ($collections as $collection) { $this->clean($collection); } }
/** * Tidy up the filesystem with the build cleaner. * * @return void */ protected function tidyUpFilesystem() { $collections = array_keys($this->environment->all()) + array_keys($this->manifest->all()); foreach ($collections as $collection) { if ($this->input->getOption('verbose')) { $this->line('[' . $collection . '] Cleaning up files and manifest entries.'); } $this->cleaner->clean($collection); } $this->input->getOption('verbose') and $this->line(''); $this->info('The filesystem and manifest have been tidied up.'); }