class ClearCommand extends AbstractCommand (View source)

Traits

Properties

protected Setting $setting

Store dirname

from  AbstractCommand
protected array $namespaces

The application namespace

from  AbstractCommand
protected Argument $arg

The Arg Option instance

from  AbstractCommand

Methods

void
throwFailsCommand(string $message, string|null $command = null)

Throw fails command

void
__construct(Setting $setting, Argument $arg)

AbstractCommand constructor

void
make(string $action)

Clear cache

Details

protected void throwFailsCommand(string $message, string|null $command = null)

Throw fails command

Parameters

string $message
string|null $command

Return Value

void

Exceptions

ErrorException

void __construct(Setting $setting, Argument $arg)

AbstractCommand constructor

Parameters

Setting $setting
Argument $arg

Return Value

void

void make(string $action)

Clear cache

Parameters

string $action

Return Value

void