original_string: protected static function transform_template_brief(template $template) {
          global $OUTPUT;
          $exporter = new \core_competency\external\template_exporter($template);
          $data = $exporter->export($OUTPUT);
          return [
              'name' => $data->shortname,
              'description' => $data->description
          ];
      }
code: protected static function transform_template_brief(template $template) {
          global $OUTPUT;
          $exporter = new \core_competency\external\template_exporter($template);
          $data = $exporter->export($OUTPUT);
          return [
              'name' => $data->shortname,
              'description' => $data->description
          ];
      }
code_tokens: protected static function transform_template_brief ( template $ template ) { global $ OUTPUT ; $ exporter = new \ core_competency \ external \ template_exporter ( $ template ) ; $ data = $ exporter -> export ( $ OUTPUT ) ; return [ 'name' => $ data -> shortname , 'description' => $ data -> description ] ; }
docstring: Transform a template into a brief description.
  
  @param template $template The Template.
  @return array
docstring_tokens: Transform a template into a brief description .