src/StaticValidator.php
private static function checkValidator($validator)
    {
        if (!array_key_exists($validator, self::$validators)) {
            return self::checkClass($validator);
        }
        return self::$validators[$validator];
    }
private static function checkValidator($validator)
    {
        if (!array_key_exists($validator, self::$validators)) {
            return self::checkClass($validator);
        }
        return self::$validators[$validator];
    }
private static function checkValidator ( $ validator ) { if ( ! array_key_exists ( $ validator , self :: $ validators ) ) { return self :: checkClass ( $ validator ) ; } return self :: $ validators [ $ validator ] ; }
Check if the provided validator is a known alias or a valid validator
interface class

@param string $validator Alias or FQ class name of the validator

@return string
Check if the provided validator is a known alias or a valid validator interface class