var/cache/dev/ContainerXxPsfln/getApiKey_ProvideService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerXxPsfln;
  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 getApiKey_ProvideService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the public 'apiKey.provide' shared service.
  12. *
  13. * @return \AdminBundle\Security\ApiKeyUserProvider
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/User/UserProviderInterface.php';
  18. include_once \dirname(__DIR__, 4).'/src/AdminBundle/Security/ApiKeyUserProvider.php';
  19. $a = ($container->services['user.repository'] ?? $container->load('getUser_RepositoryService'));
  20. if (isset($container->services['apiKey.provide'])) {
  21. return $container->services['apiKey.provide'];
  22. }
  23. return $container->services['apiKey.provide'] = new \AdminBundle\Security\ApiKeyUserProvider($a);
  24. }
  25. }