src/Client/Client.php
protected function urlFromRoute($path = '')
    {
        $url = $this->baseURL;
        $url[] = $path;
        if (!empty($this->page)) $url[] = '?page=' . $this->page;
        return implode('', $url);
    }
protected function urlFromRoute($path = '')
    {
        $url = $this->baseURL;
        $url[] = $path;
        if (!empty($this->page)) $url[] = '?page=' . $this->page;
        return implode('', $url);
    }
protected function urlFromRoute ( $ path = '' ) { $ url = $ this -> baseURL ; $ url [ ] = $ path ; if ( ! empty ( $ this -> page ) ) $ url [ ] = '?page=' . $ this -> page ; return implode ( '' , $ url ) ; }
URL From Route

Forms an API url from a route path.

@param string $path
@return string
URL From Route