<?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_Amqp_ConnectionFactoryService extends AppKernelDevDebugContainer
{
/**
* Gets the private 'gos_web_socket.pusher.amqp.connection_factory' shared service.
*
* @return \Gos\Bundle\WebSocketBundle\Pusher\Amqp\AmqpConnectionFactory
*
* @deprecated Since gos/web-socket-bundle 3.1: The "gos_web_socket.pusher.amqp.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.amqp.connection_factory" service is deprecated and will be removed in GosWebSocketBundle 4.0, use the symfony/messenger component instead.');
return $container->privates['gos_web_socket.pusher.amqp.connection_factory'] = new \Gos\Bundle\WebSocketBundle\Pusher\Amqp\AmqpConnectionFactory(['host' => $container->getEnv('RABBIT_MQ_HOST'), 'port' => $container->getEnv('RABBIT_MQ_PORT'), 'login' => $container->getEnv('RABBIT_MQ_USERNAME'), 'password' => $container->getEnv('RABBIT_MQ_PASSWORD'), 'vhost' => '/', 'read_timeout' => 0, 'write_timeout' => 0, 'connect_timeout' => 0, 'queue_name' => 'gos_websocket', 'exchange_name' => 'gos_websocket_exchange']);
}
}