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