Dispatcher
class Dispatcher
Command dispatcher.
Properties
protected Container | $container | Container. |
Methods
resolve(string $command)
Resolves the command.
array
filterArguments(array $arguments)
Returns arguments where null values have been removed.
mixed
int
dispatch(string $command, array $arguments)
Dispatches the command.
Details
at line 34
__construct(Container $container)
Constructor.
at line 45
protected CommandInterface
resolve(string $command)
Resolves the command.
at line 56
protected array
filterArguments(array $arguments)
Returns arguments where null values have been removed.
at line 71
protected mixed
execute(CommandInterface $command, array $arguments)
Executes the command.
at line 83
int
dispatch(string $command, array $arguments)
Dispatches the command.