<?php
namespace ContainerBI5hVSN;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getGosWebSocket_Pusher_Wamp_ConnectionFactoryService extends AppKernelDevDebugContainer
{
/**
* Gets the private 'gos_web_socket.pusher.wamp.connection_factory' shared service.
*
* @return \Gos\Bundle\WebSocketBundle\Pusher\Wamp\WampConnectionFactory
*
* @deprecated Since gos/web-socket-bundle 3.1: The "gos_web_socket.pusher.wamp.connection_factory" service is deprecated and will be removed in GosWebSocketBundle 4.0, use the symfony/messenger component instead.
*/
public static function do($container, $lazyLoad = true)
{
trigger_deprecation('gos/web-socket-bundle', '3.1', 'The "gos_web_socket.pusher.wamp.connection_factory" service is deprecated and will be removed in GosWebSocketBundle 4.0, use the symfony/messenger component instead.');
$instance = new \Gos\Bundle\WebSocketBundle\Pusher\Wamp\WampConnectionFactory(['host' => '127.0.0.1', 'port' => 8085, 'ssl' => false, 'origin' => NULL]);
if ($container->has('monolog.logger.websocket')) {
$instance->setLogger(($container->services['monolog.logger.websocket'] ?? $container->getMonolog_Logger_WebsocketService()));
}
return $instance;
}
}