Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 25% |
Changes | 0 |
1 | <?php |
||
12 | class CoreFactory extends AbstractFactory |
||
13 | { |
||
14 | /** |
||
15 | * @param string $service |
||
16 | * @param string $projectNamespace |
||
17 | * @param array $additionalNamespaces |
||
18 | * |
||
19 | * @return \Xervice\Core\Locator\Proxy\ProxyInterface |
||
20 | */ |
||
21 | public function createXerviceLocatorProxy(string $service, string $projectNamespace, array $additionalNamespaces): ProxyInterface |
||
22 | { |
||
23 | return new XerviceLocatorProxy( |
||
24 | $service, |
||
25 | $projectNamespace, |
||
26 | $additionalNamespaces, |
||
27 | $this->getHelperCollection() |
||
28 | ); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return \Xervice\Core\HelperClass\HelperCollection |
||
33 | */ |
||
34 | 3 | public function getHelperCollection(): HelperCollection |
|
37 | } |
||
38 | } |