class
Illuminate
/
Cache
/
Console
/
ClearCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.
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'
Methods
public
__construct ( CacheManager $cache , Filesystem $files ) : void
Create a new cache clear command instance.
Parameters
- $cache CacheManager
- $files Filesystem
public
handle ( ) : void
Execute the console command.
public
flushFacades ( ) : void
Flush the real-time facades stored in the cache directory.
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.