var/cache/dev/ContainerNPAlMbu/getWebsocketNotification_ServiceService.php line 28

Open in your IDE?
  1. <?php
  2. namespace ContainerNPAlMbu;
  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 getWebsocketNotification_ServiceService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the public 'websocket_notification.service' shared service.
  12. *
  13. * @return \AdminBundle\Services\WebsocketNotificationService
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 4).'/src/AdminBundle/Services/WebsocketNotificationService.php';
  18. $a = ($container->services['doctrine.orm.default_entity_manager'] ?? $container->getDoctrine_Orm_DefaultEntityManagerService());
  19. if (isset($container->services['websocket_notification.service'])) {
  20. return $container->services['websocket_notification.service'];
  21. }
  22. return $container->services['websocket_notification.service'] = new \AdminBundle\Services\WebsocketNotificationService($a, '127.0.0.1', 5555);
  23. }
  24. }