public function mergeOr(self $filter)
    {
        $clause     = "({$this->clause}) OR ({$filter->clause})";
        $parameters = array_merge($this->parameters, $filter->parameters);

        return new self($clause, $parameters);
    }
public function mergeOr(self $filter)
    {
        $clause     = "({$this->clause}) OR ({$filter->clause})";
        $parameters = array_merge($this->parameters, $filter->parameters);

        return new self($clause, $parameters);
    }
public function mergeOr ( self $ filter ) { $ clause = "({$this->clause}) OR ({$filter->clause})" ; $ parameters = array_merge ( $ this -> parameters , $ filter -> parameters ) ; return new self ( $ clause , $ parameters ) ; }
Combines two filters together with a "OR" operator. Current and provided instances will not be altered;
the returned new instance will hold the result of the computation.

@param QueryFilter $filter The filter to be added to the current instance.
@return QueryFilter
Combines two filters together with a OR operator . Current and provided instances will not be altered ; the returned new instance will hold the result of the computation .