class
Illuminate
/
Cache
/
Console
/
ForgetCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.
ForgetCommand
Extends
Properties
protected
$signature string
The console command name.
Default: 'cache:forget {key : The key to remove} {store? : The store to remove the key from}'
protected
$description string
The console command description.
Default: 'Remove an item from the cache'
Methods
public
__construct ( CacheManager $cache ) : void
Create a new cache clear command instance.
Parameters
- $cache CacheManager
public
handle ( ) : void
Execute the console command.