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