class
Illuminate
/
Cache
/
Console
/
ClearCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
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.