PHP 클래스 PhpBench\Expression\Constraint\Comparison

상속: extends Constraint
파일 보기 프로젝트 열기: dantleech/phpbench 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $comparator, string $field, mixed $value )
getComparator ( ) : string Return the comparator.
getField ( ) : string Return the field to which this comparison will be applied.
getValue ( ) : mixed Return the value to compare.
replaceValue ( $newValue )

메소드 상세

__construct() 공개 메소드

public __construct ( string $comparator, string $field, mixed $value )
$comparator string
$field string
$value mixed

getComparator() 공개 메소드

Return the comparator.
public getComparator ( ) : string
리턴 string

getField() 공개 메소드

Return the field to which this comparison will be applied.
public getField ( ) : string
리턴 string

getValue() 공개 메소드

Return the value to compare.
public getValue ( ) : mixed
리턴 mixed

replaceValue() 공개 메소드

public replaceValue ( $newValue )