BaseCommand.php
system/CLI/BaseCommand.php
1 class
9 methods
class BaseCommand
BaseCommand is the base class used in creating CLI commands.
__construct
(LoggerInterface $logger, Commands $commands)
run
(array $params)
call
(string $command, array $params = [])
showError
(Throwable $e)
showHelp
()
setPad
(string $item, int $max, int $extra = 2, int $indent = 0)
getPad
(array $array, int $pad)
__get
(string $key)
__isset
(string $key)