public function baseUrl($path = null)
    {
        $backendUri = $this->uri();
        $baseUrl = Request::getBaseUrl();

        if ($path === null) {
            return $baseUrl . '/' . $backendUri;
        }

        $path = RouterHelper::normalizeUrl($path);
        return $baseUrl . '/' . $backendUri . $path;
    }
public function baseUrl($path = null)
    {
        $backendUri = $this->uri();
        $baseUrl = Request::getBaseUrl();

        if ($path === null) {
            return $baseUrl . '/' . $backendUri;
        }

        $path = RouterHelper::normalizeUrl($path);
        return $baseUrl . '/' . $backendUri . $path;
    }
public function baseUrl ( $ path = null ) { $ backendUri = $ this -> uri ( ) ; $ baseUrl = Request :: getBaseUrl ( ) ; if ( $ path === null ) { return $ baseUrl . '/' . $ backendUri ; } $ path = RouterHelper :: normalizeUrl ( $ path ) ; return $ baseUrl . '/' . $ backendUri . $ path ; }
Returns the base backend URL
Returns the base backend URL