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