Negate an expression.
public static not ( Webmozart\Expression\Expression $expr ) : Webmozart\Expression\Logic\Not | ||
$expr | Webmozart\Expression\Expression | The negated expression. |
return | Webmozart\Expression\Logic\Not | The created negation. |
public function orNot(Expression $expr) { return $this->orX(Expr::not($expr)); }
public function andNot(Expression $expr) { return $this->andX(Expr::not($expr)); }