Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 76.47% |
Changes | 0 |
1 | <?php |
||
9 | class CommandRunner { |
||
10 | |||
11 | const COMMAND_SYNC = 1; |
||
12 | const COMMAND_ASYNC = 2; |
||
13 | |||
14 | private $tempmrg; |
||
15 | |||
16 | 3 | public function __construct() { |
|
17 | 3 | $this->tempmrg = new TempManager("csf_command_runner"); |
|
18 | 3 | } |
|
19 | |||
20 | 3 | public function run(int $type, string $dir, string $command, bool $sudo = false) : TempFile { |
|
42 | } |
||
43 | |||
44 | } |