src/Resolver.php
public function registerTemplatePath($templateName, $path)
    {
        $this->templatesMap[(string) $templateName] = (string) $path;

        return $this;
    }
public function registerTemplatePath($templateName, $path)
    {
        $this->templatesMap[(string) $templateName] = (string) $path;

        return $this;
    }
public function registerTemplatePath ( $ templateName , $ path ) { $ this -> templatesMap [ ( string ) $ templateName ] = ( string ) $ path ; return $ this ; }
Register the template path.

@param string $templateName The template name
@param string $path         The path to template

@return self
Register the template path .