var/cache/dev/ContainerCc3sfpq/getBookinghistory_SubscriberService.php line 21

Open in your IDE?
  1. <?php
  2. namespace ContainerCc3sfpq;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6. * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7. */
  8. class getBookinghistory_SubscriberService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the public 'bookinghistory.subscriber' shared service.
  12. *
  13. * @return \AdminBundle\EventListener\BookingHistorySubscriber
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 4).'/vendor/doctrine/event-manager/src/EventSubscriber.php';
  18. include_once \dirname(__DIR__, 4).'/src/AdminBundle/EventListener/BookingHistorySubscriber.php';
  19. include_once \dirname(__DIR__, 4).'/src/AdminBundle/Helpers/MandrillManager.php';
  20. include_once \dirname(__DIR__, 4).'/src/AdminBundle/Factory/TransactionFactory.php';
  21. $a = ($container->services['booking.service'] ?? $container->load('getBooking_ServiceService'));
  22. if (isset($container->services['bookinghistory.subscriber'])) {
  23. return $container->services['bookinghistory.subscriber'];
  24. }
  25. $b = ($container->services['payment.service'] ?? $container->load('getPayment_ServiceService'));
  26. if (isset($container->services['bookinghistory.subscriber'])) {
  27. return $container->services['bookinghistory.subscriber'];
  28. }
  29. $c = ($container->services['bookinghistory.factory'] ?? $container->load('getBookinghistory_FactoryService'));
  30. if (isset($container->services['bookinghistory.subscriber'])) {
  31. return $container->services['bookinghistory.subscriber'];
  32. }
  33. $d = new \Symfony\Bridge\Monolog\Logger('google_distance');
  34. $d->pushProcessor(($container->privates['debug.log_processor'] ?? $container->getDebug_LogProcessorService()));
  35. $d->pushHandler(($container->privates['monolog.handler.console'] ?? $container->getMonolog_Handler_ConsoleService()));
  36. $d->pushHandler(($container->privates['monolog.handler.main'] ?? $container->getMonolog_Handler_MainService()));
  37. $d->pushHandler(($container->privates['monolog.handler.google_distance'] ?? $container->load('getMonolog_Handler_GoogleDistanceService')));
  38. \Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddDebugLogProcessorPass::configureLogger($d);
  39. return $container->services['bookinghistory.subscriber'] = new \AdminBundle\EventListener\BookingHistorySubscriber($a, $b, ($container->services['mandrill.manager'] ?? ($container->services['mandrill.manager'] = new \AdminBundle\Helpers\MandrillManager('md-3FtqNjWipN-7AJgNeyhJxQ'))), $c, ($container->services['transaction.factory'] ?? ($container->services['transaction.factory'] = new \AdminBundle\Factory\TransactionFactory())), $d, ($container->services['settings_repo'] ?? $container->load('getSettingsRepoService')));
  40. }
  41. }