PHP Класс PhpBench\Expression\Constraint\Comparison

Наследование: extends Constraint
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 )