| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function createService(ServiceLocatorInterface $services) |
||
| 35 | { |
||
| 36 | /** @var Locator $domLocator */ |
||
| 37 | $domLocator = $services->get(Locator::class); |
||
| 38 | |||
| 39 | $rendererClass = $this::ENGINE_CLASS; |
||
| 40 | return new $rendererClass( |
||
| 41 | $services->get('WebinoDrawHelperManager'), |
||
| 42 | $domLocator, |
||
| 43 | new NodeListFactory($domLocator), |
||
| 44 | new InstructionsFactory, |
||
| 45 | $services->get(ModuleOptions::SERVICE) |
||
| 46 | ); |
||
| 47 | } |
||
| 48 | } |
||
| 49 |