Property | Type | Description | |
---|---|---|---|
$canonicalize | boolean | ||
$delta | float | ||
$ignoreCase | boolean | ||
$maxDepth | integer | ||
$value | mixed |
Method | Description | |
---|---|---|
__construct ( mixed $value, float $delta, integer $maxDepth = 10, boolean $canonicalize = FALSE, boolean $ignoreCase = FALSE ) | ||
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. |
Method | Description | |
---|---|---|
domToText ( DOMDocument $document ) : string | Returns the normalized, whitespace-cleaned, and indented textual representation of a DOMDocument. | |
numericComparison ( mixed $a, mixed $b ) : boolean | Compares two numeric values - use delta if applicable. | |
recursiveComparison ( mixed $a, mixed $b, integer $depth ) : boolean | Perform the actual recursive comparison of two values |