not() 공개 정적인 메소드

Negate an expression.
public static not ( Webmozart\Expression\Expression $expr ) : Webmozart\Expression\Logic\Not
$expr Webmozart\Expression\Expression The negated expression.
리턴 Webmozart\Expression\Logic\Not The created negation.
예제 #1
0
 public function orNot(Expression $expr)
 {
     return $this->orX(Expr::not($expr));
 }
예제 #2
0
 public function andNot(Expression $expr)
 {
     return $this->andX(Expr::not($expr));
 }