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

        $config = $this->getPackageConfig();

        if (isset($config['baseUrl'])) {
            return $config['baseUrl'];
        }

        return 'http://localhost:8888';
    }
public function baseUrl()
    {
        if (isset($this->baseUrl)) {
            return $this->baseUrl;
        }

        $config = $this->getPackageConfig();

        if (isset($config['baseUrl'])) {
            return $config['baseUrl'];
        }

        return 'http://localhost:8888';
    }
public function baseUrl ( ) { if ( isset ( $ this -> baseUrl ) ) { return $ this -> baseUrl ; } $ config = $ this -> getPackageConfig ( ) ; if ( isset ( $ config [ 'baseUrl' ] ) ) { return $ config [ 'baseUrl' ] ; } return 'http://localhost:8888' ; }
Get the base url for all requests.

@return string
Get the base url for all requests .