src/Url.php
public function addQueryParams(array $queryParams)
    {
        $this->data['query'] = array_merge(Helper::getValue($this->data['query'], []), $queryParams);
        $this->data['query'] = array_filter($this->data['query']);
        return $this;
    }
public function addQueryParams(array $queryParams)
    {
        $this->data['query'] = array_merge(Helper::getValue($this->data['query'], []), $queryParams);
        $this->data['query'] = array_filter($this->data['query']);
        return $this;
    }
public function addQueryParams ( array $ queryParams ) { $ this -> data [ 'query' ] = array_merge ( Helper :: getValue ( $ this -> data [ 'query' ] , [ ] ) , $ queryParams ) ; $ this -> data [ 'query' ] = array_filter ( $ this -> data [ 'query' ] ) ; return $ this ; }
Adds a query params.
@param array $queryParams list arguments.
@return $this
Adds a query params .