| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Command |
||
| 9 | { |
||
| 10 | /** @var Key */ |
||
| 11 | private $key; |
||
| 12 | |||
| 13 | /** @var Profile Profile */ |
||
| 14 | private $profile; |
||
| 15 | |||
| 16 | public function __construct(array $key, string $profileName, string $versionNumber) |
||
| 17 | { |
||
| 18 | $this->key = new Key($key); |
||
| 19 | $this->profile = Profile::createFrom($profileName, $versionNumber); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getKey(): Key |
||
| 23 | { |
||
| 24 | return $this->key; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getProfile(): Profile |
||
| 30 | } |
||
| 31 | } |
||
| 32 |