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