<?php

namespace ContainerAyoJmP9;

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 getCreateButtonMapperService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\ViewDefinitions\LegacyHandler\Subpanel\CreateButtonMapper' shared autowired service.
     *
     * @return \App\ViewDefinitions\LegacyHandler\Subpanel\CreateButtonMapper
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Module/Service/ModuleAwareRegistryItemInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/SubpanelButtonMapperInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/Subpanel/CreateButtonMapper.php';

        $a = ($container->privates['App\\FieldDefinitions\\LegacyHandler\\FieldDefinitionsHandler'] ?? self::getFieldDefinitionsHandlerService($container));

        if (isset($container->privates['App\\ViewDefinitions\\LegacyHandler\\Subpanel\\CreateButtonMapper'])) {
            return $container->privates['App\\ViewDefinitions\\LegacyHandler\\Subpanel\\CreateButtonMapper'];
        }

        $instance = new \App\ViewDefinitions\LegacyHandler\Subpanel\CreateButtonMapper($a);

        if (isset($container->privates['App\\ViewDefinitions\\LegacyHandler\\Subpanel\\CreateButtonMapper'])) {
            return $container->privates['App\\ViewDefinitions\\LegacyHandler\\Subpanel\\CreateButtonMapper'];
        }

        return $container->privates['App\\ViewDefinitions\\LegacyHandler\\Subpanel\\CreateButtonMapper'] = $instance;
    }
}
