/**
  * Constructor.
  *
  * @param \Pimple $container    DI container
  * @param array   $serviceNames Validator service names
  */
 public function __construct(\Pimple $container, array $serviceNames = array(), $propertyAccessor = null)
 {
     // for BC with 2.3
     if (method_exists('Symfony\\Component\\Validator\\Constraint\\BaseConstraintValidatorFactory', '__construct')) {
         parent::__construct($propertyAccessor);
     }
     $this->container = $container;
     $this->serviceNames = $serviceNames;
 }
 /**
  * Constructor.
  *
  * @param Container $container    DI container
  * @param array     $serviceNames Validator service names
  */
 public function __construct(Container $container, array $serviceNames = [], $accessor = null)
 {
     parent::__construct($accessor);
     $this->container = $container;
     $this->serviceNames = $serviceNames;
 }
 /**
  * Constructor.
  *
  * @param mixed $container    DI container
  * @param array     $serviceNames Validator service names
  */
 public function __construct($container, array $serviceNames = array(), $propertyAccessor = null)
 {
     parent::__construct($propertyAccessor);
     $this->container = $container;
     $this->serviceNames = $serviceNames;
 }