code: public function addTemplates(array $templates)
      {
          foreach ($templates as $name => $html) {
              $this->addTemplate($name, $html);
          }
      }
docs: @param array $templates
  
  @return void