code: public function fetch($name)
      {
          $template = false;
          if (array_key_exists($name, $this->templates)) {
              $template = $this->templates[$name];
          }
          return $template;
      }
docs: Fetches appropriate template
  
  @param string $name
  
  @return GeneratorInterface|false the required template or false if none.