| 1 | <?php |
||
| 9 | final class NativeCommandBus implements CommandBus |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var HandlerResolver |
||
| 13 | */ |
||
| 14 | private $resolver; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * NativeCommandBus constructor |
||
| 18 | * @param HandlerResolver $resolver |
||
| 19 | */ |
||
| 20 | public function __construct(HandlerResolver $resolver) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param Command $command |
||
| 27 | * @return mixed |
||
| 28 | */ |
||
| 29 | public function dispatch(Command $command) |
||
| 33 | } |
||
| 34 |