Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | final class Type extends CommandAbstract implements CommandInterface |
||
11 | { |
||
12 | protected static $command = 'JSON.TYPE'; |
||
13 | |||
14 | private function __construct( |
||
15 | string $key, |
||
16 | Path $path |
||
17 | ) { |
||
18 | $this->arguments = [$key, $path->getPath()]; |
||
19 | } |
||
20 | |||
21 | public static function createCommandWithArguments(string $key, $path = '.') : CommandInterface |
||
27 | ); |
||
28 | } |
||
30 |