Simple OR ON WHERE condition with various set of arguments. You can use parametric values in
such methods.

@param mixed ...$args [(column, value), (column, operator, value)]

@return $this

@throws BuilderException
@see AbstractWhere
761634
public function orOnWhere(...$args)
    {
        $this->createToken(
            'OR',
            $args,
            $this->joinTokens[$this->activeJoin]['on'],
            $this->onWhereWrapper()
        );

        return $this;
    }
398713
public function setArgument(Argument $arg)
    {
        if ($this->mode == Getopt::NO_ARGUMENT) {
            throw new \InvalidArgumentException("Option should not have any argument");
        }
        $this->argument = $arg;
        return $this;
    }
351703
public function orNotEqual($column, $argument)
    {
        $this->conditions[] = 'OR ' . $this->grammar->buildId($column) . ' <> ' . $argument;

        return $this;
    }
142509
public function moreOrEqual($column, $argument)
    {
        $this->conditions = [$this->grammar->buildId($column) . ' >= ' . $argument];

        return $this;
    }
1022328
public function setArguments($arguments = array())
    {
        // add additional arguments
        if (!$arguments) {
            $arguments = array();
        }
        if (!is_array($arguments)) {
            throw new BaseException('Arguments must be always an array');
        }
        $this->arguments = $args = array_merge($this->arguments, $arguments);
        foreach ($args as $arg => $val) {
            if (is_null($val)) {
                unset($this->arguments[$arg]);
            }
        }

        return $this;
    }
882688
public function withNoArgs()
    {
        $this->expectation->setMatchesCallback(function($name, $args) {
            if ($name == $this->methodName && count($args) == 0) {
                return true;
            } else {
                return false;
            }
        });

        $this->commentBuilder->setArgs([]);
        
        return $this;
    }
751276
private function prepare($args)
    {
        $bindings = array();

        // Two parameters (key, value).
        if (count($args) == 2) {
            $bindings[$args[0]] = $args[1];
        }
        // Array of parameters.
        elseif (is_array($args[0])) {
            $bindings = $args[0];
        }

        return $bindings;
    }
98144
public function addArgument($arg)
    {
        if (!is_scalar($arg)) {
            throw new InvalidArgumentException('scalar', 0);
        }
        if (!in_array($arg, $this->arguments)) {
            $this->arguments[] = $arg;
        }

        return $this;
    }
234712
@SafeVarargs
  public final QueryBuilder arguments(Object...args) {
    set(Param.QUERY_ARGS, "");
    queryArgs = args.clone();
    return this;
  }
635147
public function set($arg1 = null, $arg2 = null)
    {
        if (is_string($arg1) && $arg2 !== null) {

            // must be initialized
            $this->template->set($arg1, $arg2);

            return $this;
        }

        if ($arg2 !== null) {
            throw new Exception([
                'Second argument to set() can be only passed if the first one is a string',
                'arg1' => $arg1,
                'arg2' => $arg2,
            ]);
        }

        if (is_scalar($arg1)) {
            $this->content = $arg1;

            return $this;
        }

        if (is_array($arg1)) {
            if (isset($arg1[0])) {
                $this->content = $arg1[0];
            }
            $this->setDefaults($arg1);

            return $this;
        }

        throw new Exception([
            'Not sure what to do with argument',
            'this' => $this,
            'arg1' => $arg1,
            'arg2' => $arg2,
        ]);
    }
948081
public function constructWith($arguments = []): self
    {
        if ($this->callParentConstructorMethod) {
            if (!$arguments instanceof Arguments) {
                $arguments = new Arguments($arguments);
            }

            $this->callParentConstructorMethod->invoke($this->mock, $arguments);
        }

        return $this;
    }
296654
public function andWhere(...$args): AliasDecorator
    {
        if ($args[0] instanceof \Closure) {
            call_user_func($args[0], $this);

            return $this;
        }

        //We have to prepare only first argument
        $args[0] = $this->prepare($args[0]);

        //Routing where
        call_user_func_array([$this->query, 'and' . ucfirst($this->target)], $args);

        return $this;
    }
316111
public function createNewOperator($type, array $args)
    {
        if (empty($args) || count($args) < 2) {
            throw new \InvalidArgumentException(__METHOD__.' accept minimum 2 arguments');
        }

        return $this->factory
            ->createOperator()
            ->setType($type)
            ->setCriterias($args)
        ;
    }
1278924
public function orMore($column, $argument)
    {
        $this->conditions[] = 'OR ' . $this->grammar->buildId($column) . ' > ' . $argument;

        return $this;
    }
834527
protected function buildArguments($value, array $args = null)
    {
        if (! $args) {
            return (array) $value;
        }

        $valuePosition = array_search(static::PLACEHOLDER_VALUE, $args, true);

        if ($valuePosition === false) {
            return array_merge((array) $value, $args);
        } else {
            $args[$valuePosition] = $value;
        }

        return $args;
    }
1016718
public function setArgs(array $args)
    {
        foreach ($args as $k => $v) {
            if (is_numeric($k)) {
                $this->args[$k] = $v;
            } else {
                $this->kwargs[$k] = $v;
            }
            ksort($this->args);
        }
        return $this;
    }
530855
public function where(...$args): AliasDecorator
    {
        if ($args[0] instanceof \Closure) {
            call_user_func($args[0], $this);

            return $this;
        }

        //We have to prepare only first argument
        $args[0] = $this->prepare($args[0]);

        //Routing where
        call_user_func_array([$this->query, $this->target], $args);

        return $this;
    }