var/cache/dev/ContainerYMamVvr/getTypesense_CollectionClientService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerYMamVvr;
  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 getTypesense_CollectionClientService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'typesense.collection_client' shared service.
  12.      *
  13.      * @return \ACSEO\TypesenseBundle\Client\CollectionClient
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/acseo/typesense-bundle/src/Client/CollectionClient.php';
  18.         include_once \dirname(__DIR__4).'/vendor/acseo/typesense-bundle/src/Client/TypesenseClient.php';
  19.         return $container->services['typesense.collection_client'] = new \ACSEO\TypesenseBundle\Client\CollectionClient(($container->services['typesense.client'] ?? ($container->services['typesense.client'] = new \ACSEO\TypesenseBundle\Client\TypesenseClient($container->getEnv('resolve:TYPESENSE_URL'), $container->getEnv('resolve:TYPESENSE_KEY')))));
  20.     }
  21. }