var/cache/dev/ContainerZJp0NPQ/getEightPointsGuzzle_Client_ApiLdapService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerZJp0NPQ;
  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 getEightPointsGuzzle_Client_ApiLdapService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'eight_points_guzzle.client.api_ldap' shared service.
  12.      *
  13.      * @return \GuzzleHttp\Client
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/guzzlehttp/guzzle/src/ClientInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/psr/http-client/src/ClientInterface.php';
  19.         include_once \dirname(__DIR__4).'/vendor/guzzlehttp/guzzle/src/ClientTrait.php';
  20.         include_once \dirname(__DIR__4).'/vendor/guzzlehttp/guzzle/src/Client.php';
  21.         include_once \dirname(__DIR__4).'/vendor/guzzlehttp/guzzle/src/HandlerStack.php';
  22.         $a \GuzzleHttp\HandlerStack::create();
  23.         $a->push(($container->services['eight_points_guzzle.middleware.profile.api_ldap'] ?? $container->load('getEightPointsGuzzle_Middleware_Profile_ApiLdapService'))->profile(), 'profile');
  24.         $a->push(($container->services['eight_points_guzzle.middleware.log.api_ldap'] ?? $container->load('getEightPointsGuzzle_Middleware_Log_ApiLdapService'))->log(), 'log');
  25.         $a->after('log', ($container->services['eight_points_guzzle.middleware.request_time.api_ldap'] ?? $container->load('getEightPointsGuzzle_Middleware_RequestTime_ApiLdapService')), 'request_time');
  26.         $a->push(($container->services['eight_points_guzzle.middleware.symfony_log'] ?? $container->load('getEightPointsGuzzle_Middleware_SymfonyLogService')), 'symfony_log');
  27.         $a->unshift(($container->services['eight_points_guzzle.middleware.event_dispatch.api_ldap'] ?? $container->load('getEightPointsGuzzle_Middleware_EventDispatch_ApiLdapService'))->dispatchEvent(), 'events');
  28.         return $container->services['eight_points_guzzle.client.api_ldap'] = new \GuzzleHttp\Client(['base_uri' => $container->getEnv('API_LDAP_BASE_URI'), 'handler' => $a'timeout' => 30.0'http_errors' => true'headers' => ['Accept' => 'application/json']]);
  29.     }
  30. }