caisse-bliss/var/cache/dev/ContainerVvRT4pd/getDoctrine_Orm_Validator_U...

27 lines
1.1 KiB
PHP

<?php
namespace ContainerVvRT4pd;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getDoctrine_Orm_Validator_UniqueService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'doctrine.orm.validator.unique' shared service.
*
* @return \Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/symfony/validator/ConstraintValidatorInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/validator/ConstraintValidator.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/doctrine-bridge/Validator/Constraints/UniqueEntityValidator.php';
return $container->privates['doctrine.orm.validator.unique'] = new \Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator(($container->services['doctrine'] ?? $container->getDoctrineService()));
}
}