PHP Class PHPUnit_Framework_Constraint_IsEmpty, qcodo

Inheritance: extends PHPUnit_Framework_Constraint
Afficher le fichier Open project: qcodo/qcodo Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
customFailureDescription ( mixed $other, string $description, boolean $not )

Method Details

customFailureDescription() protected méthode

protected customFailureDescription ( mixed $other, string $description, boolean $not )
$other mixed
$description string
$not boolean

evaluate() public méthode

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.
Résultat boolean

toString() public méthode

Returns a string representation of the constraint.
public toString ( ) : string
Résultat string