Метод | Описание | |
---|---|---|
hasCommand ( string $name ) : boolean | Returns true if the command exists, false otherwise. | |
runCommand ( string $commandName, array $arguments ) : integer | Runs a command. |
public hasCommand ( string $name ) : boolean | ||
$name | string | The name of the command. e.g: "site:build" |
Результат | boolean |