var/cache/dev/ContainerBI5hVSN/getGosWebSocket_Pusher_Amqp_PushHandlerService.php line 20

Open in your IDE?
  1. <?php
  2. namespace ContainerBI5hVSN;
  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 getGosWebSocket_Pusher_Amqp_PushHandlerService extends AppKernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'gos_web_socket.pusher.amqp.push_handler' shared service.
  12.      *
  13.      * @return \Gos\Bundle\WebSocketBundle\Pusher\Amqp\AmqpServerPushHandler
  14.      *
  15.      * @deprecated Since gos/web-socket-bundle 3.1: The "gos_web_socket.pusher.amqp.push_handler" service is deprecated and will be removed in GosWebSocketBundle 4.0.
  16.      */
  17.     public static function do($container$lazyLoad true)
  18.     {
  19.         trigger_deprecation('gos/web-socket-bundle''3.1''The "gos_web_socket.pusher.amqp.push_handler" service is deprecated and will be removed in GosWebSocketBundle 4.0.');
  20.         $a = ($container->services['.container.private.serializer'] ?? $container->get_Container_Private_SerializerService());
  21.         if (isset($container->privates['gos_web_socket.pusher.amqp.push_handler'])) {
  22.             return $container->privates['gos_web_socket.pusher.amqp.push_handler'];
  23.         }
  24.         $b = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  25.         if (isset($container->privates['gos_web_socket.pusher.amqp.push_handler'])) {
  26.             return $container->privates['gos_web_socket.pusher.amqp.push_handler'];
  27.         }
  28.         $container->privates['gos_web_socket.pusher.amqp.push_handler'] = $instance = new \Gos\Bundle\WebSocketBundle\Pusher\Amqp\AmqpServerPushHandler(($container->privates['gos_web_socket.router.wamp'] ?? $container->load('getGosWebSocket_Router_WampService')), $a$b, ($container->privates['gos_web_socket.pusher.amqp.connection_factory'] ?? $container->load('getGosWebSocket_Pusher_Amqp_ConnectionFactoryService')));
  29.         $instance->setLogger(($container->services['monolog.logger.websocket'] ?? $container->getMonolog_Logger_WebsocketService()));
  30.         $instance->setName('amqp');
  31.         return $instance;
  32.     }
  33. }