| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class ArrayIndex extends CommandAbstract implements CommandInterface |
||
| 11 | { |
||
| 12 | protected static $command = 'JSON.ARRINDEX'; |
||
| 13 | |||
| 14 | private function __construct( |
||
| 15 | string $key, |
||
| 16 | Path $path, |
||
| 17 | string $json, |
||
| 18 | int $start, |
||
| 19 | int $stop |
||
| 20 | ) { |
||
| 21 | $this->arguments = [$key, $path->getPath(), $json, $start, $stop]; |
||
| 22 | } |
||
| 23 | |||
| 24 | public static function createCommandWithArguments( |
||
| 37 | ); |
||
| 38 | } |
||
| 40 |