Method | Description | |
---|---|---|
equivalentTo ( Webmozart\Expression\Expression $other ) : boolean | Returns whether this expression is logically equivalent to another expression. | |
evaluate ( mixed $value ) : boolean | Evaluates the expression with the given value. | |
toString ( ) : string | Returns a string representation of the expression. |
public equivalentTo ( Webmozart\Expression\Expression $other ) : boolean | ||
$other | Webmozart\Expression\Expression | Some expression. |
return | boolean | Returns `true` if the expressions are logically equivalent and `false` otherwise. |