src/Resolver/StringResolver.php
public function addTemplates(array $templates)
    {
        foreach ($templates as $name => $html) {
            $this->addTemplate($name, $html);
        }
    }
public function addTemplates(array $templates)
    {
        foreach ($templates as $name => $html) {
            $this->addTemplate($name, $html);
        }
    }
@param array $templates

@return void