PHP Class Codesleeve\AssetPipeline\Commands\AssetsCleanCommand

Inheritance: extends Illuminate\Console\Command
Show file Open project: codesleeve/asset-pipeline

Protected Properties

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

Public Methods

Method Description
__construct ( ) Construct a new AssetsCleanCommand
fire ( ) : void Execute the console command.

Protected Methods

Method Description
getOptions ( ) : array Get the console command options.
removeAssetCache ( [type] $file, [type] $recursive ) : [type] Removes the AssetCache for this file
writeln ( `[type] $message ) : [type] Output messages to the user if verbose is on

Method Details

__construct() public method

Construct a new AssetsCleanCommand
public __construct ( )

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

removeAssetCache() protected method

Removes the AssetCache for this file
protected removeAssetCache ( [type] $file, [type] $recursive ) : [type]
$file [type]
$recursive [type]
return [type]

writeln() protected method

Output messages to the user if verbose is on
protected writeln ( `[type] $message ) : [type]
$message `[type]
return [type]

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