src/Pond/Tunes/Search.php
protected function buildSpecificRequestUri()
    {
        $requestParameters = array();

        $uri = parent::buildRequestUri();
        if (!empty($uri)) {
            $requestParameters[] = $uri;
        }

        if (empty($this->searchTerms)) {
            throw new \LogicException('Cannot query search service if no terms are set!');
        }

        // add terms
        $requestParameters[] = 'term=' . implode('+', array_map('urlencode', $this->searchTerms));

        $this->rawRequestUrl = $this->getUri() . implode('&', $requestParameters);
    }
protected function buildSpecificRequestUri()
    {
        $requestParameters = array();

        $uri = parent::buildRequestUri();
        if (!empty($uri)) {
            $requestParameters[] = $uri;
        }

        if (empty($this->searchTerms)) {
            throw new \LogicException('Cannot query search service if no terms are set!');
        }

        // add terms
        $requestParameters[] = 'term=' . implode('+', array_map('urlencode', $this->searchTerms));

        $this->rawRequestUrl = $this->getUri() . implode('&', $requestParameters);
    }
{@inheritDoc}