Avolutions\Command\CommandDispatcher
Find and run commands based on passed arguments.
Methods
Method | Visibility | Description |
---|---|---|
__construct() | public | Creates a new CommandDispatcher instance. |
dispatch() | public | Find and run command based on passed arguments. |
Method Details
__construct()
Creates a new CommandDispatcher instance.
public
__construct(Application $Application, CommandCollection $CommandCollection, Console $Console) : mixed
Parameters
Application
$Application
Application instance.
CommandCollection
$CommandCollection
CommandCollection instance.
Console
$Console
Console instance for output.