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