public function &where($pattern, ...$arguments)
    {
        if (!is_string($pattern)) {
            throw new InvalidArgumentException('Conditions pattern needs to be string');
        }

        $conditions_to_prepare = [$pattern];

        if (!empty($arguments)) {
            $conditions_to_prepare = array_merge($conditions_to_prepare, $arguments);
        }

        $this->where[] = $this->connection->prepareConditions($conditions_to_prepare);

        return $this;
    }
public function &where($pattern, ...$arguments)
    {
        if (!is_string($pattern)) {
            throw new InvalidArgumentException('Conditions pattern needs to be string');
        }

        $conditions_to_prepare = [$pattern];

        if (!empty($arguments)) {
            $conditions_to_prepare = array_merge($conditions_to_prepare, $arguments);
        }

        $this->where[] = $this->connection->prepareConditions($conditions_to_prepare);

        return $this;
    }
public function & where ( $ pattern , ... $ arguments ) { if ( ! is_string ( $ pattern ) ) { throw new InvalidArgumentException ( 'Conditions pattern needs to be string' ) ; } $ conditions_to_prepare = [ $ pattern ] ; if ( ! empty ( $ arguments ) ) { $ conditions_to_prepare = array_merge ( $ conditions_to_prepare , $ arguments ) ; } $ this -> where [ ] = $ this -> connection -> prepareConditions ( $ conditions_to_prepare ) ; return $ this ; }
Set finder  .

@param string $pattern
@param  mixed  ...$arguments
@return $this
Set finder .