Total Complexity | 5 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class Arr extends BaseVariadicFunction |
||
16 | { |
||
17 | protected function getNodeMappingPattern(): array |
||
20 | } |
||
21 | |||
22 | protected function getFunctionName(): string |
||
25 | } |
||
26 | |||
27 | protected function customizeFunction(): void |
||
28 | { |
||
29 | $this->setFunctionPrototype(\sprintf('%s[%%s]', $this->getFunctionName())); |
||
30 | } |
||
31 | |||
32 | protected function getMinArgumentCount(): int |
||
33 | { |
||
34 | return 1; |
||
35 | } |
||
36 | |||
37 | protected function getMaxArgumentCount(): int |
||
40 | } |
||
41 | } |
||
42 |