Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
17 | class ArrayHandlerBusinessFactory extends AbstractBusinessFactory |
||
18 | { |
||
19 | /** |
||
20 | * @param \Xervice\ArrayHandler\Dependency\FieldHandlerPluginInterface $handlerPlugin |
||
21 | * |
||
22 | * @return \Xervice\ArrayHandler\Business\Model\ArrayHandlerInterface |
||
23 | */ |
||
24 | 1 | public function createArrayHandler(FieldHandlerPluginInterface $handlerPlugin): ArrayHandlerInterface |
|
25 | { |
||
26 | 1 | return new ArrayHandler( |
|
27 | 1 | $handlerPlugin, |
|
28 | 1 | $this->createArrayLocator() |
|
29 | ); |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return \Xervice\ArrayHandler\Business\Model\ArrayLocator\ArrayLocatorInterface |
||
34 | */ |
||
35 | 1 | public function createArrayLocator(): ArrayLocatorInterface |
|
38 | } |
||
39 | } |