class Illuminate / Cache / Console / ForgetCommand

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'
protected

$cache CacheManager

The cache manager instance.

Default: null

Methods

public

__construct ( CacheManager $cache ) : void

Create a new cache clear command instance.

Parameters

public

handle ( ) : void

Execute the console command.