| Total Complexity | 6 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 24 | class JsonbPathMatch extends BaseVariadicFunction |
||
| 25 | { |
||
| 26 | use BooleanValidationTrait; |
||
|
|
|||
| 27 | |||
| 28 | 4 | protected function getNodeMappingPattern(): array |
|
| 29 | { |
||
| 30 | 4 | return ['StringPrimary']; |
|
| 31 | } |
||
| 32 | |||
| 33 | 4 | protected function getFunctionName(): string |
|
| 34 | { |
||
| 35 | 4 | return 'jsonb_path_match'; |
|
| 36 | } |
||
| 37 | |||
| 38 | 4 | protected function getMinArgumentCount(): int |
|
| 39 | { |
||
| 40 | 4 | return 2; |
|
| 41 | } |
||
| 42 | |||
| 43 | 4 | protected function getMaxArgumentCount(): int |
|
| 46 | } |
||
| 47 | |||
| 48 | 3 | protected function validateArguments(Node ...$arguments): void |
|
| 49 | { |
||
| 58 |