Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | final class ComposerInstallCommand implements Command |
||
8 | { |
||
9 | private $repository; |
||
10 | private $targetDir; |
||
11 | private $version; |
||
12 | |||
13 | 10 | public function __construct(string $repository, string $targetDir, ?string $version = null) |
|
14 | { |
||
15 | 10 | $this->repository = $repository; |
|
16 | 10 | $this->targetDir = $targetDir; |
|
17 | 10 | $this->version = $version; |
|
18 | } |
||
19 | |||
20 | 5 | public function __toString(): string |
|
28 | ); |
||
29 | } |
||
31 |