| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
| 28 | { |
||
| 29 | /** @var $moduleOptions ModuleOptions */ |
||
| 30 | $moduleOptions = $serviceLocator->get(ModuleOptions::class); |
||
| 31 | |||
| 32 | // init FormManager |
||
| 33 | $manager = new FormManager($moduleOptions->getForms()); |
||
| 34 | // add serviceLocator to FormManager |
||
| 35 | $manager->setServiceLocator($serviceLocator); |
||
| 36 | |||
| 37 | return $manager; |
||
| 38 | } |
||
| 39 | } |
||
| 40 |