class AbstractCommand (View source)

Traits

Properties

protected Setting $setting

Store dirname

protected array $namespaces

The application namespace

protected ArgOption $arg

The Arg Option instance

Methods

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

Throw fails command

void
__construct(Setting $setting, ArgOption $arg)

AbstractCommand constructor

Details

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

Throw fails command

Parameters

string $message
string $command

Exceptions

ErrorException

void __construct(Setting $setting, ArgOption $arg)

AbstractCommand constructor

Parameters

Setting $setting
ArgOption $arg

Return Value

void