Doctrine\MongoDB\Query\Expr::bitXor PHP Метод

bitXor() публичный Метод

Apply a bitwise xor operation on the current field.
См. также: Builder::bitXor()
См. также: http://docs.mongodb.org/manual/reference/operator/update/bit/
public bitXor ( integer $value )
$value integer
    public function bitXor($value)
    {
        return $this->bit('xor', $value);
    }

Usage Example

Пример #1
0
 /**
  * Apply a bitwise xor operation on the current field.
  *
  * @see Expr::bitXor()
  * @see http://docs.mongodb.org/manual/reference/operator/update/bit/
  * @param int $value
  * @return self
  */
 public function bitXor($value)
 {
     $this->expr->bitXor($value);
     return $this;
 }