protected function resolveValidatorObjectName($validatorType)
    {
        $validatorType = ltrim($validatorType, '\\');

        $validatorClassNames = static::getValidatorImplementationClassNames($this->objectManager);

        if ($this->objectManager->isRegistered($validatorType) && isset($validatorClassNames[$validatorType])) {
            return $validatorType;
        }

        if (strpos($validatorType, ':') !== false) {
            list($packageName, $packageValidatorType) = explode(':', $validatorType);
            $possibleClassName = sprintf('%s\Validation\Validator\%sValidator', str_replace('.', '\\', $packageName), $this->getValidatorType($packageValidatorType));
        } else {
            $possibleClassName = sprintf('Neos\Flow\Validation\Validator\%sValidator', $this->getValidatorType($validatorType));
        }
        if ($this->objectManager->isRegistered($possibleClassName) && isset($validatorClassNames[$possibleClassName])) {
            return $possibleClassName;
        }

        return false;
    }
protected function resolveValidatorObjectName($validatorType)
    {
        $validatorType = ltrim($validatorType, '\\');

        $validatorClassNames = static::getValidatorImplementationClassNames($this->objectManager);

        if ($this->objectManager->isRegistered($validatorType) && isset($validatorClassNames[$validatorType])) {
            return $validatorType;
        }

        if (strpos($validatorType, ':') !== false) {
            list($packageName, $packageValidatorType) = explode(':', $validatorType);
            $possibleClassName = sprintf('%s\Validation\Validator\%sValidator', str_replace('.', '\\', $packageName), $this->getValidatorType($packageValidatorType));
        } else {
            $possibleClassName = sprintf('Neos\Flow\Validation\Validator\%sValidator', $this->getValidatorType($validatorType));
        }
        if ($this->objectManager->isRegistered($possibleClassName) && isset($validatorClassNames[$possibleClassName])) {
            return $possibleClassName;
        }

        return false;
    }
protected function resolveValidatorObjectName ( $ validatorType ) { $ validatorType = ltrim ( $ validatorType , '\\' ) ; $ validatorClassNames = static :: getValidatorImplementationClassNames ( $ this -> objectManager ) ; if ( $ this -> objectManager -> isRegistered ( $ validatorType ) && isset ( $ validatorClassNames [ $ validatorType ] ) ) { return $ validatorType ; } if ( strpos ( $ validatorType , ':' ) !== false ) { list ( $ packageName , $ packageValidatorType ) = explode ( ':' , $ validatorType ) ; $ possibleClassName = sprintf ( '%s\Validation\Validator\%sValidator' , str_replace ( '.' , '\\' , $ packageName ) , $ this -> getValidatorType ( $ packageValidatorType ) ) ; } else { $ possibleClassName = sprintf ( 'Neos\Flow\Validation\Validator\%sValidator' , $ this -> getValidatorType ( $ validatorType ) ) ; } if ( $ this -> objectManager -> isRegistered ( $ possibleClassName ) && isset ( $ validatorClassNames [ $ possibleClassName ] ) ) { return $ possibleClassName ; } return false ; }
Returns the class name of an appropriate validator for the given type. If no
validator is available false is returned

@param string $validatorType Either the fully qualified class name of the validator or the short name of a built-in validator
@return string|boolean Class name of the validator or false if not available
Returns the class name of an appropriate validator for the given type . If no validator is available false is returned