PHP Class Stolz\Assets\Laravel\FlushPipelineCommand

Inheritance: extends Illuminate\Console\Command
显示文件 Open project: stolz/assets

Protected Properties

Property Type Description
$description string The console command description.
$name string The console command name.

Public Methods

Method Description
__construct ( ) : void Class constructor.
fire ( ) : void Execute the console command.

Protected Methods

Method Description
getOptions ( ) : array Get the console command options.
getPipelineDirectories ( ) : array Get the pipeline directories of the groups.
purgeDir ( string $directory ) : boolean Remove the contents of a given directory.

Method Details

__construct() public method

Class constructor.
public __construct ( ) : void
return void

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

getPipelineDirectories() protected method

Get the pipeline directories of the groups.
protected getPipelineDirectories ( ) : array
return array

purgeDir() protected method

Remove the contents of a given directory.
protected purgeDir ( string $directory ) : boolean
$directory string
return boolean

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$name protected_oe property

The console command name.
protected string $name
return string