var/cache/dev/ContainerY3DYq7x/getGosWebSocket_Server_Application_WampService.php line 26

Open in your IDE?
  1. <?php
  2. namespace ContainerY3DYq7x;
  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_Server_Application_WampService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'gos_web_socket.server.application.wamp' shared service.
  12.      *
  13.      * @return \Gos\Bundle\WebSocketBundle\Server\App\WampApplication
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/cboden/ratchet/src/Ratchet/ComponentInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/cboden/ratchet/src/Ratchet/Wamp/WampServerInterface.php';
  19.         include_once \dirname(__DIR__4).'/vendor/gos/web-socket-bundle/src/Server/App/PushableWampServerInterface.php';
  20.         include_once \dirname(__DIR__4).'/vendor/gos/web-socket-bundle/src/Server/App/WampApplication.php';
  21.         include_once \dirname(__DIR__4).'/vendor/gos/web-socket-bundle/src/Router/WampRouter.php';
  22.         $a = ($container->services['.container.private.gos_web_socket.dispatcher.topic'] ?? $container->load('get_Container_Private_GosWebSocket_Dispatcher_TopicService'));
  23.         if (isset($container->privates['gos_web_socket.server.application.wamp'])) {
  24.             return $container->privates['gos_web_socket.server.application.wamp'];
  25.         }
  26.         $b = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  27.         if (isset($container->privates['gos_web_socket.server.application.wamp'])) {
  28.             return $container->privates['gos_web_socket.server.application.wamp'];
  29.         }
  30.         $c = new \Gos\Bundle\WebSocketBundle\Router\WampRouter(($container->privates['gos_pubsub_router.router.websocket'] ?? $container->load('getGosPubsubRouter_Router_WebsocketService')));
  31.         $d = ($container->privates['monolog.logger.websocket'] ?? $container->load('getMonolog_Logger_WebsocketService'));
  32.         $c->setLogger($d);
  33.         $container->privates['gos_web_socket.server.application.wamp'] = $instance = new \Gos\Bundle\WebSocketBundle\Server\App\WampApplication(($container->services['.container.private.gos_web_socket.dispatcher.rpc'] ?? $container->load('get_Container_Private_GosWebSocket_Dispatcher_RpcService')), $a$b, ($container->privates['gos_web_socket.client.storage'] ?? $container->load('getGosWebSocket_Client_StorageService')), $c);
  34.         $instance->setLogger($d);
  35.         return $instance;
  36.     }
  37. }