| 1 | <?php |
||
| 14 | final class CommandHandler implements HandlerInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var CommandBus |
||
| 18 | */ |
||
| 19 | private $commandBus; |
||
| 20 | |||
| 21 | 2 | public function __construct(CommandBus $commandBus) |
|
| 25 | |||
| 26 | 2 | public function handle(QueueInterface $job) |
|
| 35 | |||
| 36 | 2 | private function assertCommandJob(QueueInterface $job): void |
|
| 42 | } |
||
| 43 |