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