PHP 클래스 Respect\Validation\Validator

상속: extends Respect\Validation\Rules\AllOf
파일 보기 프로젝트 열기: respect/validation 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$factory

공개 메소드들

메소드 설명
__call ( string $method, array $arguments ) : self
__callStatic ( string $ruleName, array $arguments ) : Validator
buildRule ( mixed $ruleSpec, array $arguments = [] ) : Respect\Validation\Validatable
check ( $input )
create ( ) : Validator Create instance validator.
setFactory ( Factory $factory )
with ( string $rulePrefix, boolean $prepend = false )

보호된 메소드들

메소드 설명
createException ( )
getFactory ( ) : Factory

메소드 상세

__call() 공개 메소드

public __call ( string $method, array $arguments ) : self
$method string
$arguments array
리턴 self

__callStatic() 공개 정적인 메소드

public static __callStatic ( string $ruleName, array $arguments ) : Validator
$ruleName string
$arguments array
리턴 Validator

buildRule() 공개 정적인 메소드

public static buildRule ( mixed $ruleSpec, array $arguments = [] ) : Respect\Validation\Validatable
$ruleSpec mixed
$arguments array
리턴 Respect\Validation\Validatable

check() 공개 메소드

public check ( $input )

create() 공개 정적인 메소드

Create instance validator.
public static create ( ) : Validator
리턴 Validator

createException() 보호된 메소드

protected createException ( )

getFactory() 보호된 정적인 메소드

protected static getFactory ( ) : Factory
리턴 Factory

setFactory() 공개 정적인 메소드

public static setFactory ( Factory $factory )
$factory Factory

with() 공개 정적인 메소드

public static with ( string $rulePrefix, boolean $prepend = false )
$rulePrefix string
$prepend boolean

프로퍼티 상세

$factory 보호되어 있는 정적으로 프로퍼티

protected static $factory