Total Complexity | 6 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
22 | class JsonbPathExists extends BaseVariadicFunction |
||
23 | { |
||
24 | use BooleanValidationTrait; |
||
|
|||
25 | |||
26 | 4 | protected function getNodeMappingPattern(): array |
|
27 | { |
||
28 | 4 | return ['StringPrimary']; |
|
29 | } |
||
30 | |||
31 | 4 | protected function getFunctionName(): string |
|
32 | { |
||
33 | 4 | return 'jsonb_path_exists'; |
|
34 | } |
||
35 | |||
36 | 4 | protected function getMinArgumentCount(): int |
|
39 | } |
||
40 | |||
41 | 4 | protected function getMaxArgumentCount(): int |
|
44 | } |
||
45 | |||
46 | 3 | protected function validateArguments(Node ...$arguments): void |
|
53 | } |
||
54 | } |
||
56 |