PHP 클래스 Jyxo\Input\Validator\StringLengthGreaterThan

저자: Jan Pěček
상속: extends AbstractValidator
파일 보기 프로젝트 열기: jyxo/php

보호된 프로퍼티들

프로퍼티 타입 설명
$min integer Minimal string length.

공개 메소드들

메소드 설명
__construct ( integer $min ) Constructor.
getMin ( ) : integer Returns the minimal string length.
isValid ( mixed $value ) : boolean Validates a value.
setMin ( integer $min ) : self Sets the minimal string length.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( integer $min )
$min integer Minimal string length (value length must be greater)

getMin() 공개 메소드

Returns the minimal string length.
public getMin ( ) : integer
리턴 integer

isValid() 공개 메소드

Validates a value.
public isValid ( mixed $value ) : boolean
$value mixed Input value
리턴 boolean

setMin() 공개 메소드

Sets the minimal string length.
public setMin ( integer $min ) : self
$min integer Minimal string length
리턴 self

프로퍼티 상세

$min 보호되어 있는 프로퍼티

Minimal string length.
protected int $min
리턴 integer