Total Complexity | 5 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class Container |
||
16 | { |
||
17 | /** |
||
18 | * @var Stub |
||
19 | */ |
||
20 | private $stub; |
||
21 | |||
22 | /** |
||
23 | * @var Manifest |
||
24 | */ |
||
25 | private $manifest; |
||
26 | |||
27 | /** |
||
28 | * @param Stub $stub |
||
29 | * @param Manifest $manifest |
||
30 | */ |
||
31 | public function __construct(Stub $stub, Manifest $manifest) |
||
32 | { |
||
33 | $this->stub = $stub; |
||
34 | $this->manifest = $manifest; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return Stub |
||
39 | */ |
||
40 | public function getStub(): Stub |
||
41 | { |
||
42 | return $this->stub; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @return Manifest |
||
47 | */ |
||
48 | public function getManifest(): Manifest |
||
49 | { |
||
50 | return $this->manifest; |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function getAlias(): string |
||
59 | } |
||
60 | } |
||
61 |