var/cache/dev/ContainerY3DYq7x/getGosWebSocket_Client_Authentication_WebsocketProviderService.php line 20

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_Client_Authentication_WebsocketProviderService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'gos_web_socket.client.authentication.websocket_provider' shared service.
  12.      *
  13.      * @return \Gos\Bundle\WebSocketBundle\Client\Auth\WebsocketAuthenticationProvider
  14.      *
  15.      * @deprecated Since gos/web-socket-bundle 3.11: The "gos_web_socket.client.authentication.websocket_provider" 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.11''The "gos_web_socket.client.authentication.websocket_provider" service is deprecated and will be removed in GosWebSocketBundle 4.0.');
  20.         $container->privates['gos_web_socket.client.authentication.websocket_provider'] = $instance = new \Gos\Bundle\WebSocketBundle\Client\Auth\WebsocketAuthenticationProvider(($container->privates['gos_web_socket.client.storage'] ?? $container->load('getGosWebSocket_Client_StorageService')), $container->parameters['gos_web_socket.firewall']);
  21.         $instance->setLogger(($container->privates['monolog.logger.websocket'] ?? $container->load('getMonolog_Logger_WebsocketService')));
  22.         return $instance;
  23.     }
  24. }