PHP Класс Efficiently\Larasset\Commands\CleanAssetsCommand

Наследование: extends AssetsCommand
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__construct ( ) : void Create a new command instance.
fire ( ) : mixed Execute the console command.

Защищенные методы

Метод Описание
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.

Описание методов

__construct() публичный Метод

Create a new command instance.
public __construct ( ) : void
Результат void

fire() публичный Метод

Execute the console command.
public fire ( ) : mixed
Результат mixed

getArguments() защищенный Метод

Get the console command arguments.
protected getArguments ( ) : array
Результат array

getOptions() защищенный Метод

Get the console command options.
protected getOptions ( ) : array
Результат array

Описание свойств

$description защищенное свойство

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
Результат string

$name защищенное свойство

The console command name.
protected string $name
Результат string