public function createQuery(array $data = [], array $bookmarks = [])
    {
        $data = empty($data) ? [] : $data;

        $request = $this->createRequestData(['options' => $data], $bookmarks);

        return UrlBuilder::buildRequestString($request);
    }
public function createQuery(array $data = [], array $bookmarks = [])
    {
        $data = empty($data) ? [] : $data;

        $request = $this->createRequestData(['options' => $data], $bookmarks);

        return UrlBuilder::buildRequestString($request);
    }
public function createQuery ( array $ data = [ ] , array $ bookmarks = [ ] ) { $ data = empty ( $ data ) ? [ ] : $ data ; $ request = $ this -> createRequestData ( [ 'options' => $ data ] , $ bookmarks ) ; return UrlBuilder :: buildRequestString ( $ request ) ; }
Create request string.

@param array $data
@param array|null $bookmarks
@return string
Create request string .