Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | abstract class Command implements CommandInterface |
||
8 | { |
||
9 | private $command; |
||
10 | private $parameters; |
||
11 | |||
12 | public function __construct($command, $parameters = []) |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * Wrap the string in quotes, and escape any double quotes that are already in the string |
||
20 | */ |
||
21 | protected function wrapInQuotes($string) |
||
24 | } |
||
25 | |||
26 | public function __toString(): string |
||
31 |