| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class BoolQueryDispatcher implements BoolQueryDispatcherInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var QueryCreatedEventFactoryInterface |
||
| 23 | */ |
||
| 24 | private $factory; |
||
| 25 | /** |
||
| 26 | * @var EventDispatcherInterface |
||
| 27 | */ |
||
| 28 | private $eventDispatcher; |
||
| 29 | |||
| 30 | public function __construct( |
||
| 31 | QueryCreatedEventFactoryInterface $factory, |
||
| 32 | EventDispatcherInterface $eventDispatcher |
||
| 33 | ) |
||
| 34 | { |
||
| 35 | $this->factory = $factory; |
||
| 36 | $this->eventDispatcher = $eventDispatcher; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function dispatchNewQuery(AbstractQuery $boolQuery): QueryCreatedEventInterface |
||
| 45 | } |
||
| 46 | } |
||
| 47 |