| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
| 14 | { |
||
| 15 | $serviceLocator = $serviceLocator->getServiceLocator(); |
||
|
|
|||
| 16 | $config = $serviceLocator->get('Config'); |
||
| 17 | $transport = Factory::create($config['mail']); |
||
| 18 | |||
| 19 | return new EmailPurchase( |
||
| 20 | $serviceLocator->get('doctrine.entitymanager.orm_default'), |
||
| 21 | $serviceLocator->get('Zend\View\View'), |
||
| 22 | $transport, |
||
| 23 | $config['conferencetools']['mailconf']['purchase'] ?? [] |
||
| 24 | ); |
||
| 27 |