| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class RegexpMatch extends BaseVariadicFunction |
||
| 20 | { |
||
| 21 | protected function getNodeMappingPattern(): array |
||
| 22 | { |
||
| 23 | return [ |
||
| 24 | 'StringPrimary', |
||
| 25 | ]; |
||
| 26 | } |
||
| 27 | |||
| 28 | protected function getFunctionName(): string |
||
| 29 | { |
||
| 30 | return 'regexp_match'; |
||
| 31 | } |
||
| 32 | |||
| 33 | protected function getMinArgumentCount(): int |
||
| 34 | { |
||
| 35 | return 2; |
||
| 36 | } |
||
| 37 | |||
| 38 | protected function getMaxArgumentCount(): int |
||
| 41 | } |
||
| 42 | } |
||
| 43 |