Total Complexity | 8 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class FilterQueryBuilder implements |
||
12 | HasEventName |
||
13 | { |
||
14 | /** |
||
15 | * @param string[] $entityAliasMap |
||
16 | * @param mixed[] $args |
||
17 | */ |
||
18 | public function __construct( |
||
19 | protected QueryBuilder $queryBuilder, |
||
20 | protected array $entityAliasMap, |
||
21 | protected string $eventName, |
||
22 | protected mixed $objectValue, |
||
23 | protected array $args, |
||
24 | protected mixed $context, |
||
25 | protected ResolveInfo $info, |
||
26 | ) { |
||
27 | } |
||
28 | |||
29 | public function eventName(): string |
||
30 | { |
||
31 | return $this->eventName; |
||
32 | } |
||
33 | |||
34 | public function getQueryBuilder(): QueryBuilder |
||
35 | { |
||
36 | return $this->queryBuilder; |
||
37 | } |
||
38 | |||
39 | /** @return string[] */ |
||
40 | public function getEntityAliasMap(): array |
||
41 | { |
||
42 | return $this->entityAliasMap; |
||
43 | } |
||
44 | |||
45 | public function getObjectValue(): mixed |
||
46 | { |
||
47 | return $this->objectValue; |
||
48 | } |
||
49 | |||
50 | /** @return mixed[] */ |
||
51 | public function getArgs(): array |
||
54 | } |
||
55 | |||
56 | public function getContext(): mixed |
||
59 | } |
||
60 | |||
61 | public function getInfo(): ResolveInfo |
||
64 | } |
||
65 | } |
||
66 |