protected function clearViews()
    {
        $this->info('Clearing compiled views');

        try {
            Artisan::call('view:clear');
        } catch (InvalidArgumentException $e) {
            $views = $this->laravel['files']->glob(
                $this->laravel['config']['view.compiled'].'/*'
            );

            foreach ($views as $view) {
                $this->laravel['files']->delete($view);
            }
        }
    }
protected function clearViews()
    {
        $this->info('Clearing compiled views');

        try {
            Artisan::call('view:clear');
        } catch (InvalidArgumentException $e) {
            $views = $this->laravel['files']->glob(
                $this->laravel['config']['view.compiled'].'/*'
            );

            foreach ($views as $view) {
                $this->laravel['files']->delete($view);
            }
        }
    }
protected function clearViews ( ) { $ this -> info ( 'Clearing compiled views' ) ; try { Artisan :: call ( 'view:clear' ) ; } catch ( InvalidArgumentException $ e ) { $ views = $ this -> laravel [ 'files' ] -> glob ( $ this -> laravel [ 'config' ] [ 'view.compiled' ] . '/*' ) ; foreach ( $ views as $ view ) { $ this -> laravel [ 'files' ] -> delete ( $ view ) ; } } }
Clear compiled views.

@return void
Clear compiled views .