not() public static method

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.
Exemplo n.º 1
0
 public function orNot(Expression $expr)
 {
     return $this->orX(Expr::not($expr));
 }
Exemplo n.º 2
0
 public function andNot(Expression $expr)
 {
     return $this->andX(Expr::not($expr));
 }