var/cache/dev/ContainerYdS95Bq/getHttplug_ClientService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerYdS95Bq;
  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 getHttplug_ClientService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the public 'httplug.client' shared service.
  12. *
  13. * @return \Http\Client\Common\HttpMethodsClient
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 4).'/vendor/psr/http-client/src/ClientInterface.php';
  18. include_once \dirname(__DIR__, 4).'/vendor/php-http/httplug/src/HttpClient.php';
  19. include_once \dirname(__DIR__, 4).'/vendor/php-http/client-common/src/HttpMethodsClientInterface.php';
  20. include_once \dirname(__DIR__, 4).'/vendor/php-http/client-common/src/HttpMethodsClient.php';
  21. include_once \dirname(__DIR__, 4).'/vendor/php-http/httplug/src/HttpAsyncClient.php';
  22. include_once \dirname(__DIR__, 4).'/vendor/php-http/client-common/src/PluginClient.php';
  23. include_once \dirname(__DIR__, 4).'/vendor/php-http/httplug-bundle/src/ClientFactory/ClientFactory.php';
  24. include_once \dirname(__DIR__, 4).'/vendor/php-http/httplug-bundle/src/Collector/ProfileClientFactory.php';
  25. include_once \dirname(__DIR__, 4).'/vendor/php-http/httplug-bundle/src/ClientFactory/AutoDiscoveryFactory.php';
  26. include_once \dirname(__DIR__, 4).'/vendor/php-http/client-common/src/Plugin.php';
  27. include_once \dirname(__DIR__, 4).'/vendor/php-http/client-common/src/Plugin/ContentLengthPlugin.php';
  28. include_once \dirname(__DIR__, 4).'/vendor/php-http/client-common/src/Plugin/RedirectPlugin.php';
  29. return $container->services['httplug.client'] = new \Http\Client\Common\HttpMethodsClient(($container->privates['Http\\Client\\Common\\PluginClientFactory'] ?? $container->getPluginClientFactoryService())->createClient((new \Http\HttplugBundle\Collector\ProfileClientFactory(new \Http\HttplugBundle\ClientFactory\AutoDiscoveryFactory(), ($container->privates['httplug.collector.collector'] ?? ($container->privates['httplug.collector.collector'] = new \Http\HttplugBundle\Collector\Collector(0))), ($container->privates['httplug.collector.formatter'] ?? $container->getHttplug_Collector_FormatterService()), ($container->privates['debug.stopwatch'] ?? ($container->privates['debug.stopwatch'] = new \Symfony\Component\Stopwatch\Stopwatch(true)))))->createClient([]), [0 => new \Http\Client\Common\Plugin\ContentLengthPlugin(), 1 => new \Http\Client\Common\Plugin\RedirectPlugin(['preserve_header' => true, 'use_default_for_multiple' => true])], ['client_name' => 'app']), ($container->services['httplug.message_factory'] ?? $container->load('getHttplug_MessageFactoryService')));
  30. }
  31. }