code: public function getTemplate(string $name)
      {
          if ($this->hasTemplate($name)) {
              return $this->templates[$name];
          }
  
          return $this->templates[self::DEFAULT_NAMESPACE];
      }
docs: @param string $name
  
  @return string