class Illuminate / Cache / Console / ClearCommand

ClearCommand

Extends

Properties

protected

$name string

The console command name.

Default: 'cache:clear'
protected

$description string

The console command description.

Default: 'Flush the application cache'
protected

$cache CacheManager

The cache manager instance.

Default: null
protected

$files Filesystem

The filesystem instance.

Default: null

Methods

public

__construct ( CacheManager $cache , Filesystem $files ) : void

Create a new cache clear command instance.

Parameters

public

handle ( ) : void

Execute the console command.

public

flushFacades ( ) : void

Flush the real-time facades stored in the cache directory.

protected

cache ( ) : Repository

Get the cache instance for the command.

protected

tags ( ) : array

Get the tags passed to the command.

protected

getArguments ( ) : array

Get the console command arguments.

protected

getOptions ( ) : array

Get the console command options.