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