| 1 | <?php |
||
| 13 | class CommandDispatcherWithValidator implements CommandDispatcher |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var CommandDispatcher |
||
| 18 | */ |
||
| 19 | private $commandDispatcher; |
||
| 20 | /** |
||
| 21 | * @var CommandValidator |
||
| 22 | */ |
||
| 23 | private $commandValidator; |
||
| 24 | |||
| 25 | 2 | public function __construct( |
|
| 34 | |||
| 35 | 2 | public function dispatchCommand(Command $command, CommandMetadata $metadata = null) |
|
| 45 | } |