original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Returns the base backend URL
docstring_tokens: Returns the base backend URL