Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class CandidateDeploymentImpl implements CandidateDeploymentInterface |
||
15 | { |
||
16 | protected $name; |
||
17 | protected $resources = []; |
||
18 | |||
19 | public function __construct(string $name, array $resources) |
||
23 | } |
||
24 | |||
25 | public function getName(): string |
||
26 | { |
||
27 | return $this->name; |
||
28 | } |
||
29 | |||
30 | public function setName(string $name): void |
||
31 | { |
||
32 | $this->name = $name; |
||
33 | } |
||
34 | |||
35 | public function getResources(): array |
||
38 | } |
||
39 | |||
40 | public function setResources(array $resources): void |
||
43 | } |
||
44 | |||
45 | public static function fromDeploymentEntity(DeploymentEntity $deploymentEntity): CandidateDeploymentImpl |
||
52 |