| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 7 | final class BoxBuildCommand implements Command |
||
| 8 | { |
||
| 9 | private $repository; |
||
| 10 | private $phar; |
||
| 11 | private $bin; |
||
| 12 | private $version; |
||
| 13 | |||
| 14 | 10 | public function __construct(string $repository, string $phar, string $bin, ?string $version = null) |
|
| 15 | { |
||
| 16 | 10 | $this->repository = $repository; |
|
| 17 | 10 | $this->phar = $phar; |
|
| 18 | 10 | $this->bin = $bin; |
|
| 19 | 10 | $this->version = $version; |
|
| 20 | } |
||
| 21 | |||
| 22 | 5 | public function __toString(): string |
|
| 33 | ); |
||
| 34 | } |
||
| 35 | |||
| 36 | 5 | private function targetDir(): string |
|
| 43 |