var/cache/dev/ContainerBI5hVSN/getGosWebSocket_Server_Application_WampService.php line 18

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_Server_Application_WampService extends AppKernelDevDebugContainer
  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.         $a = ($container->services['.container.private.gos_web_socket.dispatcher.topic'] ?? $container->load('get_Container_Private_GosWebSocket_Dispatcher_TopicService'));
  22.         if (isset($container->privates['gos_web_socket.server.application.wamp'])) {
  23.             return $container->privates['gos_web_socket.server.application.wamp'];
  24.         }
  25.         $b = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  26.         if (isset($container->privates['gos_web_socket.server.application.wamp'])) {
  27.             return $container->privates['gos_web_socket.server.application.wamp'];
  28.         }
  29.         $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')), ($container->privates['gos_web_socket.router.wamp'] ?? $container->load('getGosWebSocket_Router_WampService')));
  30.         $instance->setLogger(($container->services['monolog.logger.websocket'] ?? $container->getMonolog_Logger_WebsocketService()));
  31.         return $instance;
  32.     }
  33. }