src/Pushman.php
private function getURL($endpoint = null)
    {
        if (is_null($endpoint)) {
            $endpoint = $this->getEndpoint();
        } else {
            $endpoint = '/api/' . $endpoint;
        }

        return $this->config['url'] . $endpoint;
    }
private function getURL($endpoint = null)
    {
        if (is_null($endpoint)) {
            $endpoint = $this->getEndpoint();
        } else {
            $endpoint = '/api/' . $endpoint;
        }

        return $this->config['url'] . $endpoint;
    }
private function getURL ( $ endpoint = null ) { if ( is_null ( $ endpoint ) ) { $ endpoint = $ this -> getEndpoint ( ) ; } else { $ endpoint = '/api/' . $ endpoint ; } return $ this -> config [ 'url' ] . $ endpoint ; }
Get the URL of our Pushman instance.
Defaults to the live site Push command.

@param null $endpoint
@return string
Get the URL of our Pushman instance . Defaults to the live site Push command .