| 1 | <?php declare(strict_types = 1); |
||
| 12 | final class QueueToEventDispatcherWithCommandId |
||
| 13 | { |
||
| 14 | /** @var QueueToEventDispatcher */ |
||
| 15 | private $queueToEventDispatcher; |
||
| 16 | |||
| 17 | /** @var Cache */ |
||
| 18 | private $cache; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * QueueToEventDispatcherWithCommandId constructor. |
||
| 22 | * @param QueueToEventDispatcher $queueToEventDispatcher |
||
| 23 | * @param Cache $cache |
||
| 24 | */ |
||
| 25 | public function __construct(QueueToEventDispatcher $queueToEventDispatcher, Cache $cache) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param $job |
||
| 33 | * @param $data |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public function fire($job, $data) |
||
| 41 | } |
||
| 42 |