lib/Accessible/Configuration.php
public static function getConstraintsValidator()
    {
        if (self::$constraintsValidator === null) {
            self::$constraintsValidator = Validation::createValidatorBuilder()
                ->enableAnnotationMapping(self::getAnnotationReader())
                ->getValidator();
        }

        return self::$constraintsValidator;
    }
public static function getConstraintsValidator()
    {
        if (self::$constraintsValidator === null) {
            self::$constraintsValidator = Validation::createValidatorBuilder()
                ->enableAnnotationMapping(self::getAnnotationReader())
                ->getValidator();
        }

        return self::$constraintsValidator;
    }
public static function getConstraintsValidator ( ) { if ( self :: $ constraintsValidator === null ) { self :: $ constraintsValidator = Validation :: createValidatorBuilder ( ) -> enableAnnotationMapping ( self :: getAnnotationReader ( ) ) -> getValidator ( ) ; } return self :: $ constraintsValidator ; }
Get the constraints validator that is used.
Initializes it if it doesn't already exists.

@return ConstraintValidator The annotation reader.
Get the constraints validator that is used . Initializes it if it doesn t already exists .