Total Complexity | 8 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class BuildContainer implements BuildContainerInterface, SingletonInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var SingletonContainer |
||
15 | */ |
||
16 | private $container; |
||
17 | |||
18 | public function __construct(SingletonContainer $container) |
||
21 | } |
||
22 | |||
23 | public function getSystemContainer() |
||
24 | { |
||
25 | return $this->container->getInstance(SystemContainer::class); |
||
26 | } |
||
27 | |||
28 | public function getPartyContainer() |
||
29 | { |
||
30 | return $this->container->getInstance(PartyContainer::class); |
||
31 | } |
||
32 | |||
33 | public function getStoreContainer() |
||
34 | { |
||
35 | return $this->container->getInstance(StoreContainer::class); |
||
36 | } |
||
37 | |||
38 | public function getProviderContainer() |
||
39 | { |
||
40 | return $this->container->getInstance(ProviderContainer::class); |
||
41 | } |
||
42 | |||
43 | public function getCredentialContainer() |
||
44 | { |
||
45 | return $this->container->getInstance(CredentialContainer::class); |
||
46 | } |
||
47 | |||
48 | public function getServiceContainer() |
||
49 | { |
||
50 | return $this->container->getInstance(ServiceContainer::class); |
||
51 | } |
||
52 | |||
53 | public function getOwnContainer() |
||
56 | } |
||
57 | } |
||
58 |