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 32
__construct(Container $container)
Constructor.
at line 43
protected CommandInterface
resolve(string $command)
Resolves the command.
at line 54
protected array
filterArguments(array $arguments)
Returns arguments where null values have been removed.
at line 69
protected mixed
execute(CommandInterface $command, array $arguments)
Executes the command.
at line 81
int
dispatch(string $command, array $arguments)
Dispatches the command.