var/cache/dev/ContainerYYcCiYL/getMercure_Hub_Default_Publisher_Traceable_InnerService.php line 20

Open in your IDE?
  1. <?php
  2. namespace ContainerYYcCiYL;
  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 getMercure_Hub_Default_Publisher_Traceable_InnerService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the private 'mercure.hub.default.publisher.traceable.inner' shared service.
  12. *
  13. * @return \Symfony\Component\Mercure\Publisher
  14. *
  15. * @deprecated Since symfony/mercure-bundle 0.2: The "mercure.hub.default.publisher.traceable.inner" service is deprecated. You should stop using it, as it will be removed in the future, use "mercure.hub.default" instead.
  16. */
  17. public static function do($container, $lazyLoad = true)
  18. {
  19. trigger_deprecation('symfony/mercure-bundle', '0.2', 'The "mercure.hub.default.publisher.traceable.inner" service is deprecated. You should stop using it, as it will be removed in the future, use "mercure.hub.default" instead.');
  20. return new \Symfony\Component\Mercure\Publisher($container->getEnv('MERCURE_PUBLISH_URL'), ($container->privates['mercure.hub.default.jwt.provider'] ?? ($container->privates['mercure.hub.default.jwt.provider'] = new \Symfony\Component\Mercure\Jwt\StaticTokenProvider($container->getEnv('MERCURE_JWT_TOKEN')))), ($container->privates['.debug.http_client'] ?? $container->get_Debug_HttpClientService()));
  21. }
  22. }