var/cache/dev/ContainerXqPVELs/getGosWebSocket_Registry_PusherService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerXqPVELs;
  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_Registry_PusherService extends Whater_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the public 'gos_web_socket.registry.pusher' shared service.
  12. *
  13. * @return \Gos\Bundle\WebSocketBundle\Pusher\PusherRegistry
  14. *
  15. * @deprecated Since gos/web-socket-bundle 3.1: The "gos_web_socket.registry.pusher" 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.1', 'The "gos_web_socket.registry.pusher" service is deprecated and will be removed in GosWebSocketBundle 4.0.');
  20. $container->services['gos_web_socket.registry.pusher'] = $instance = new \Gos\Bundle\WebSocketBundle\Pusher\PusherRegistry();
  21. $instance->addPusher(($container->services['gos_web_socket.pusher.wamp'] ?? $container->load('getGosWebSocket_Pusher_WampService')));
  22. return $instance;
  23. }
  24. }