PHP 인터페이스 Neos\Flow\Validation\Validator\ValidatorInterface

파일 보기 프로젝트 열기: neos/flow-development-collection 0 사용 예제들

공개 메소드들

메소드 설명
getOptions ( ) : array Returns the options of this validator which can be specified in the constructor
validate ( mixed $value ) : Neos\Error\Messages\Result Checks if the given value is valid according to the validator, and returns the Error Messages object which occurred.

메소드 상세

getOptions() 공개 메소드

Returns the options of this validator which can be specified in the constructor
public getOptions ( ) : array
리턴 array

validate() 공개 메소드

Checks if the given value is valid according to the validator, and returns the Error Messages object which occurred.
public validate ( mixed $value ) : Neos\Error\Messages\Result
$value mixed The value that should be validated
리턴 Neos\Error\Messages\Result