PHP Класс PHPUnit_Framework_Constraint_GreaterThan, qcodo

Автор: Jan Borsodi ([email protected])
Автор: Sebastian Bergmann ([email protected])
Наследование: extends PHPUnit_Framework_Constraint
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$value numeric

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

Метод Описание
__construct ( numeric $value )
evaluate ( mixed $other ) : boolean Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.
toString ( ) : string Returns a string representation of the constraint.

Описание методов

__construct() публичный Метод

public __construct ( numeric $value )
$value numeric

evaluate() публичный Метод

Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.
public evaluate ( mixed $other ) : boolean
$other mixed Value or object to evaluate.
Результат boolean

toString() публичный Метод

Returns a string representation of the constraint.
public toString ( ) : string
Результат string

Описание свойств

$value защищенное свойство

protected numeric $value
Результат numeric