Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class ShellVariable extends ShellWord |
||
11 | { |
||
12 | protected $isVariable = true; |
||
13 | protected $useAssignOperator = true; |
||
14 | protected $wrapAsSubcommand = true; |
||
15 | protected $spaceAfterValue = false; |
||
16 | |||
17 | /** |
||
18 | * ShellVariable constructor. |
||
19 | * @param string $option |
||
20 | * @param ShellInterface|string $value |
||
21 | * @throws ShellBuilderException |
||
22 | */ |
||
23 | public function __construct(string $option, $value) |
||
28 | } |
||
29 | } |
||
30 | |||
31 | public function wrapWithBackticks(bool $enable): self |
||
37 |