Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class DefaultServiceContainer implements ServiceContainer |
||
14 | { |
||
15 | 1 | public function __construct( |
|
16 | private readonly BranchService $branchService, |
||
17 | private readonly InfoService $infoService, |
||
18 | private readonly PackageService $packageService, |
||
19 | private readonly SettingService $settingService, |
||
20 | private readonly TrackService $trackService, |
||
21 | ) { |
||
22 | 1 | } |
|
23 | |||
24 | 1 | public function getBranchService(): BranchService |
|
25 | { |
||
26 | 1 | return $this->branchService; |
|
27 | } |
||
28 | |||
29 | 1 | public function getInfoService(): InfoService |
|
30 | { |
||
31 | 1 | return $this->infoService; |
|
32 | } |
||
33 | |||
34 | 1 | public function getPackageService(): PackageService |
|
37 | } |
||
38 | |||
39 | 1 | public function getSettingService(): SettingService |
|
42 | } |
||
43 | |||
44 | 1 | public function getTrackService(): TrackService |
|
47 | } |
||
48 | } |
||
49 |