Webmozart\Expression\Expr::not PHP Method

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.
    public static function not(Expression $expr)
    {
        return new Not($expr);
    }

Usage Example

Exemplo n.º 1
0
 public function orNot(Expression $expr)
 {
     return $this->orX(Expr::not($expr));
 }
All Usage Examples Of Webmozart\Expression\Expr::not