| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function createService(ServiceLocatorInterface $services) |
||
| 30 | { |
||
| 31 | /** @var \Zend\Filter\FilterPluginManager $filters */ |
||
| 32 | $filters = $services->get('FilterManager'); |
||
| 33 | /** @var \Zend\View\HelperPluginManager $helpers */ |
||
| 34 | $helpers = $services->get('ViewHelperManager'); |
||
| 35 | /** @var OnVar $onVar */ |
||
| 36 | $onVar = $services->get(OnVar::class); |
||
| 37 | |||
| 38 | return new VarTranslator(new Filter($filters), new Helper($helpers), $onVar); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |