PHP Класс PHPUnit_Framework_Constraint_TraversableContainsOnly, qcodo

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

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

Свойство Тип Описание
$constraint PHPUnit_Framework_Constraint
$type string

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

Метод Описание
__construct ( string $type, boolean $isNativeType = TRUE )
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 ( string $type, boolean $isNativeType = TRUE )
$type string
$isNativeType boolean

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

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

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

protected PHPUnit_Framework_Constraint $constraint
Результат PHPUnit_Framework_Constraint

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

protected string $type
Результат string