library/Garp/Service/Elasticsearch/Request.php
public function getUrl() {
        $config     = $this->getConfig();
        $baseUrl    = $this->isReadOnly()
            ? $config->getReadBaseUrl()
            : $config->getWriteBaseUrl()
        ;
        $index      = $config->getIndex();
        $path       = $this->getPath();

        $url        = $baseUrl . '/' . $index . $path;

        return $url;
    }
public function getUrl() {
        $config     = $this->getConfig();
        $baseUrl    = $this->isReadOnly()
            ? $config->getReadBaseUrl()
            : $config->getWriteBaseUrl()
        ;
        $index      = $config->getIndex();
        $path       = $this->getPath();

        $url        = $baseUrl . '/' . $index . $path;

        return $url;
    }
public function getUrl ( ) { $ config = $ this -> getConfig ( ) ; $ baseUrl = $ this -> isReadOnly ( ) ? $ config -> getReadBaseUrl ( ) : $ config -> getWriteBaseUrl ( ) ; $ index = $ config -> getIndex ( ) ; $ path = $ this -> getPath ( ) ; $ url = $ baseUrl . '/' . $ index . $ path ; return $ url ; }
Creates a full url out of a relative path.
@param String $path A relative path without index, preceded by a slash.
Creates a full url out of a relative path .