original_string: protected function insertBaseTag($view)
      {
          if (is_null($this->baseUrl)) {
              return $view;
          }
  
          return str_replace('<head>', '<head><base href="'.$this->baseUrl.'">', $view);
      }
code: protected function insertBaseTag($view)
      {
          if (is_null($this->baseUrl)) {
              return $view;
          }
  
          return str_replace('<head>', '<head><base href="'.$this->baseUrl.'">', $view);
      }
code_tokens: protected function insertBaseTag ( $ view ) { if ( is_null ( $ this -> baseUrl ) ) { return $ view ; } return str_replace ( '<head>' , '<head><base href="' . $ this -> baseUrl . '">' , $ view ) ; }
docstring: Insert a base tag after the head tag to allow relative references to assets
  @param string $view
  @return string
docstring_tokens: Insert a base tag after the head tag to allow relative references to assets