PHP Class PHPUnit_Framework_Constraint_TraversableContains, qcodo

Inheritance: extends PHPUnit_Framework_Constraint
Mostrar archivo Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$value mixed

Public Methods

Method Description
__construct ( mixed $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.

Protected Methods

Method Description
customFailureDescription ( $other, $description, $not )

Method Details

__construct() public method

public __construct ( mixed $value )
$value mixed

customFailureDescription() protected method

protected customFailureDescription ( $other, $description, $not )

evaluate() public method

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.
return boolean

toString() public method

Returns a string representation of the constraint.
public toString ( ) : string
return string

Property Details

$value protected_oe property

protected mixed $value
return mixed