class Illuminate / Foundation / Console / ViewCacheCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

ViewCacheCommand

Extends

Properties

protected

$signature string

The name and signature of the console command.

Default: 'view:cache'
protected

$description string

The console command description.

Default: 'Compile all of the application's Blade templates'

Methods

public

handle ( ) : mixed

Execute the console command.

protected

compileViews ( Illuminate\...\Collection $views ) : void

Compile the given view files.

Parameters

  • $views Illuminate\...\Collection
protected

bladeFilesIn ( array $paths ) : Illuminate\...\Collection

Get the Blade files in the given path.

Parameters

  • $paths array
protected

paths ( ) : Illuminate\...\Collection

Get all of the possible view paths.