Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | final class HasChannelQueryBuilder implements QueryBuilderInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var ChannelContextInterface |
||
23 | */ |
||
24 | private $channelContext; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $channelProperty; |
||
30 | |||
31 | /** |
||
32 | * @param ChannelContextInterface $channelContext |
||
33 | * @param string $channelProperty |
||
34 | */ |
||
35 | public function __construct(ChannelContextInterface $channelContext, string $channelProperty) |
||
36 | { |
||
37 | $this->channelContext = $channelContext; |
||
38 | $this->channelProperty = $channelProperty; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function buildQuery(array $data): ?AbstractQuery |
||
50 | } |
||
51 | } |
||
52 |