src/Command/SelfUpdateCommand.php
protected function getBaseUrl()
    {
        if (isset($this->baseUrl)) {
            return $this->baseUrl;
        }

        $this->baseUrl = $this->container->getParameter('tenside.self_update.base_url');

        if (false === strpos($this->baseUrl, '://')) {
            $this->baseUrl = (extension_loaded('openssl') ? 'https' : 'http') . '://' . $this->baseUrl;
        }

        return $this->baseUrl;
    }
protected function getBaseUrl()
    {
        if (isset($this->baseUrl)) {
            return $this->baseUrl;
        }

        $this->baseUrl = $this->container->getParameter('tenside.self_update.base_url');

        if (false === strpos($this->baseUrl, '://')) {
            $this->baseUrl = (extension_loaded('openssl') ? 'https' : 'http') . '://' . $this->baseUrl;
        }

        return $this->baseUrl;
    }
protected function getBaseUrl ( ) { if ( isset ( $ this -> baseUrl ) ) { return $ this -> baseUrl ; } $ this -> baseUrl = $ this -> container -> getParameter ( 'tenside.self_update.base_url' ) ; if ( false === strpos ( $ this -> baseUrl , '://' ) ) { $ this -> baseUrl = ( extension_loaded ( 'openssl' ) ? 'https' : 'http' ) . '://' . $ this -> baseUrl ; } return $ this -> baseUrl ; }
Retrieve the base url for obtaining the latest version and phar files.

@return string
Retrieve the base url for obtaining the latest version and phar files .