Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | final class PhiveInstallCommand implements Command |
||
8 | { |
||
9 | private $alias; |
||
10 | private $bin; |
||
11 | private $trust; |
||
12 | private $unsigned; |
||
13 | |||
14 | 10 | public function __construct(string $alias, string $bin, bool $trust = false, bool $unsigned = false) |
|
15 | { |
||
16 | 10 | $this->alias = $alias; |
|
17 | 10 | $this->bin = $bin; |
|
18 | 10 | $this->trust = $trust; |
|
19 | 10 | $this->unsigned = $unsigned; |
|
20 | } |
||
21 | |||
22 | 7 | public function __toString(): string |
|
30 | ); |
||
31 | } |
||
33 |