<?php

namespace ContainerRYWeSXx;

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 getTmsEligibleCarrierProviderService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\ApiPlatform\State\Enum\TmsEligibleCarrierProvider' shared autowired service.
     *
     * @return \App\ApiPlatform\State\Enum\TmsEligibleCarrierProvider
     */
    public static function do($container, $lazyLoad = true)
    {
        $instance = new \App\ApiPlatform\State\Enum\TmsEligibleCarrierProvider(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\External\\RTC\\Export\\ExportRtcReturnShipment'] ?? $container->load('getExportRtcReturnShipmentService'));
            yield 1 => ($container->privates['App\\External\\Teliae\\Export\\ExportTeliaeReturnShipment'] ?? $container->load('getExportTeliaeReturnShipmentService'));
        }, 2));

        if (isset($container->privates['App\\ApiPlatform\\State\\Enum\\TmsEligibleCarrierProvider'])) {
            return $container->privates['App\\ApiPlatform\\State\\Enum\\TmsEligibleCarrierProvider'];
        }

        return $container->privates['App\\ApiPlatform\\State\\Enum\\TmsEligibleCarrierProvider'] = $instance;
    }
}
