<?php

namespace ContainerXAyNPD7;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getTokenServiceService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\External\GLS\Authentification\Service\TokenService' shared autowired service.
     *
     * @return \App\External\GLS\Authentification\Service\TokenService
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['serializer'] ?? self::getSerializerService($container));

        if (isset($container->privates['App\\External\\GLS\\Authentification\\Service\\TokenService'])) {
            return $container->privates['App\\External\\GLS\\Authentification\\Service\\TokenService'];
        }

        $instance = new \App\External\GLS\Authentification\Service\TokenService(new \App\External\GLS\Authentification\AuthentificationApiClient(($container->services['monolog.logger.api'] ?? self::getMonolog_Logger_ApiService($container)), ($container->privates['gls.client.uri_template'] ?? $container->load('getGls_Client_UriTemplateService')), $a, $container->getEnv('GLS_API_CLIENT_ID'), $container->getEnv('GLS_API_CLIENT_SECRET')), ($container->services['cache.app'] ?? $container->load('getCache_AppService')));

        if (isset($container->privates['App\\External\\GLS\\Authentification\\Service\\TokenService'])) {
            return $container->privates['App\\External\\GLS\\Authentification\\Service\\TokenService'];
        }

        return $container->privates['App\\External\\GLS\\Authentification\\Service\\TokenService'] = $instance;
    }
}
