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