Command
class Command 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 |
| static protected array | $commands | List of command actions |
Methods
void
throwFailsCommand(string $message, string|null $command = null)
Throw fails command
from
ConsoleTrait
array
getCommands()
Get the commands
static void
pushCommand(array $commands)
Push new command
mixed
call(string $command, string $action, array ...$rest)
The call command
Details
protected void
throwFailsCommand(string $message, string|null $command = null)
Throw fails command
array
getCommands()
Get the commands
static void
pushCommand(array $commands)
Push new command
mixed
call(string $command, string $action, array ...$rest)
The call command