Свойство | Тип | Описание | |
---|---|---|---|
$attributeName | string | ||
$constraint | PHPUnit_Framework_Constraint |
Метод | Описание | |
---|---|---|
__construct ( PHPUnit_Framework_Constraint $constraint, string $attributeName ) | ||
count ( ) : integer | Counts the number of constraint elements. | |
evaluate ( mixed $other ) : boolean | Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise. | |
fail ( mixed $other, string $description, boolean $not = FALSE ) | ||
toString ( ) : string | Returns a string representation of the constraint. |
Метод | Описание | |
---|---|---|
customFailureDescription ( $other, $description, $not ) |
public __construct ( PHPUnit_Framework_Constraint $constraint, string $attributeName ) | ||
$constraint | PHPUnit_Framework_Constraint | |
$attributeName | string |
protected customFailureDescription ( $other, $description, $not ) |