original_string: public function load(
          string $component,
          string $name,
          string $themename,
          bool $includecomments = false
      ) : string {
          // Get the template source from the callback.
          $source = ($this->gettemplatesource)($component, $name, $themename);
  
          // Remove comments from template.
          if (!$includecomments) {
              $source = $this->strip_template_comments($source);
          }
  
          return $source;
      }
code: public function load(
          string $component,
          string $name,
          string $themename,
          bool $includecomments = false
      ) : string {
          // Get the template source from the callback.
          $source = ($this->gettemplatesource)($component, $name, $themename);
  
          // Remove comments from template.
          if (!$includecomments) {
              $source = $this->strip_template_comments($source);
          }
  
          return $source;
      }
code_tokens: public function load ( string $ component , string $ name , string $ themename , bool $ includecomments = false ) : string { // Get the template source from the callback. $ source = ( $ this -> gettemplatesource ) ( $ component , $ name , $ themename ) ; // Remove comments from template. if ( ! $ includecomments ) { $ source = $ this -> strip_template_comments ( $ source ) ; } return $ source ; }
docstring: Load the template source from the component and template name.
  
  @param string $component The moodle component (e.g. core_message)
  @param string $name The template name (e.g. message_drawer)
  @param string $themename The theme to load the template for (e.g. boost)
  @param bool $includecomments If the comments should be stripped from the source before returning
  @return string The template source
docstring_tokens: Load the template source from the component and template name .