files = $files; } /** * Execute the console command. * * @return void */ public function fire() { $path = $this->laravel['config']['view.compiled']; if (! $path) { throw new RuntimeException('View path not found.'); } foreach ($this->files->glob("{$path}/*") as $view) { $this->files->delete($view); } $this->info('Compiled views cleared!'); } }