PHP Class Efficiently\Larasset\Commands\CleanAssetsCommand

Inheritance: extends AssetsCommand
Afficher le fichier Open project: efficiently/larasset

Protected Properties

Свойство Type Description
$description string Add a 'larasset:clean' command to only removes old assets (keeps the most recent 3 copies) from public/assets. Useful when doing rolling deploys that may still be serving old assets while the new ones are being compiled.
$name string The console command name.

Méthodes publiques

Méthode Description
__construct ( ) : void Create a new command instance.
fire ( ) : mixed Execute the console command.

Méthodes protégées

Méthode Description
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.

Method Details

__construct() public méthode

Create a new command instance.
public __construct ( ) : void
Résultat void

fire() public méthode

Execute the console command.
public fire ( ) : mixed
Résultat mixed

getArguments() protected méthode

Get the console command arguments.
protected getArguments ( ) : array
Résultat array

getOptions() protected méthode

Get the console command options.
protected getOptions ( ) : array
Résultat array

Property Details

$description protected_oe property

Add a 'larasset:clean' command to only removes old assets (keeps the most recent 3 copies) from public/assets. Useful when doing rolling deploys that may still be serving old assets while the new ones are being compiled.
protected string $description
Résultat string

$name protected_oe property

The console command name.
protected string $name
Résultat string