protected function buildCondition()
    {
        $column = explode('.', $this->column);

        if (count($column) == 1) {
            return [$this->query => func_get_args()];
        }

        return $this->buildRelationQuery(...func_get_args());
    }
protected function buildCondition()
    {
        $column = explode('.', $this->column);

        if (count($column) == 1) {
            return [$this->query => func_get_args()];
        }

        return $this->buildRelationQuery(...func_get_args());
    }
protected function buildCondition ( ) { $ column = explode ( '.' , $ this -> column ) ; if ( count ( $ column ) == 1 ) { return [ $ this -> query => func_get_args ( ) ] ; } return $ this -> buildRelationQuery ( ... func_get_args ( ) ) ; }
Build conditions of filter.

@return mixed
Build conditions of filter .