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