protected function detectResourcesBaseUri()
    {
        $uri = '';
        $request = $this->getHttpRequest();
        if ($request instanceof HttpRequest) {
            $uri = $request->getBaseUri();
        }
        return (string)$uri;
    }
protected function detectResourcesBaseUri()
    {
        $uri = '';
        $request = $this->getHttpRequest();
        if ($request instanceof HttpRequest) {
            $uri = $request->getBaseUri();
        }
        return (string)$uri;
    }
protected function detectResourcesBaseUri ( ) { $ uri = '' ; $ request = $ this -> getHttpRequest ( ) ; if ( $ request instanceof HttpRequest ) { $ uri = $ request -> getBaseUri ( ) ; } return ( string ) $ uri ; }
Detects and returns the website's base URI

@return string The website's base URI
Detects and returns the website s base URI