Shell
class Shell extends Shell (View source)
Methods
Command|null
getCommand(string $input)
Get a command (if one exists) for the current input string.
bool
hasCommand(string $input)
Check whether a command is set for the current input string.
string|null
getCommandFromInput(string $input)
Get the command from the current input, takes aliases into account.
Details
protected Command|null
getCommand(string $input)
Get a command (if one exists) for the current input string.
protected bool
hasCommand(string $input)
Check whether a command is set for the current input string.
protected string|null
getCommandFromInput(string $input)
Get the command from the current input, takes aliases into account.