PHP Class Bkwld\Croppa\Commands\Purge

Inheritance: extends Illuminate\Console\Command
Show file Open project: bkwld/croppa

Protected Properties

Property Type Description
$description string The console command description.
$name string The console command name.
$storage Bkwld\Croppa\Storage

Public Methods

Method Description
__construct ( Bkwld\Croppa\Storage $storage ) Dependency inject
fire ( ) : void Execute the console command

Protected Methods

Method Description
getOptions ( ) : array; Get the console command options

Method Details

__construct() public method

Dependency inject
public __construct ( Bkwld\Croppa\Storage $storage )
$storage Bkwld\Croppa\Storage

fire() public method

Execute the console command
public fire ( ) : void
return void

getOptions() protected method

Get the console command options
protected getOptions ( ) : array;
return array;

Property Details

$description protected property

The console command description.
protected string $description
return string

$name protected property

The console command name.
protected string $name
return string

$storage protected property

protected Storage,Bkwld\Croppa $storage
return Bkwld\Croppa\Storage