webroot/var/cache/prod/ContainerEvwr5zZ/getCommonPreConfiguratorService.php

30 lines
1.4 KiB
PHP

<?php
namespace ContainerEvwr5zZ;
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 getCommonPreConfiguratorService extends App_KernelProdContainer
{
/*
* Gets the private 'EasyCorp\Bundle\EasyAdminBundle\Field\Configurator\CommonPreConfigurator' shared service.
*
* @return \EasyCorp\Bundle\EasyAdminBundle\Field\Configurator\CommonPreConfigurator
*/
public static function do($container, $lazyLoad = true)
{
$a = ($container->privates['EasyCorp\\Bundle\\EasyAdminBundle\\Factory\\EntityFactory'] ?? self::getEntityFactoryService($container));
if (isset($container->privates['EasyCorp\\Bundle\\EasyAdminBundle\\Field\\Configurator\\CommonPreConfigurator'])) {
return $container->privates['EasyCorp\\Bundle\\EasyAdminBundle\\Field\\Configurator\\CommonPreConfigurator'];
}
return $container->privates['EasyCorp\\Bundle\\EasyAdminBundle\\Field\\Configurator\\CommonPreConfigurator'] = new \EasyCorp\Bundle\EasyAdminBundle\Field\Configurator\CommonPreConfigurator(($container->privates['property_accessor'] ?? self::getPropertyAccessorService($container)), $a);
}
}