protected function createTemplateFromXml($xml)
    {
        /** @var Template $template */
        $template = $this->serializer->deserialize($xml, 'phpDocumentor\Transformer\Template', 'xml');
        $template->propagateParameters();

        return $template;
    }
protected function createTemplateFromXml($xml)
    {
        /** @var Template $template */
        $template = $this->serializer->deserialize($xml, 'phpDocumentor\Transformer\Template', 'xml');
        $template->propagateParameters();

        return $template;
    }
protected function createTemplateFromXml ( $ xml ) { /** @var Template $template */ $ template = $ this -> serializer -> deserialize ( $ xml , 'phpDocumentor\Transformer\Template' , 'xml' ) ; $ template -> propagateParameters ( ) ; return $ template ; }
Creates and returns a template object based on the provided template definition.

@param string $xml

@return Template
Creates and returns a template object based on the provided template definition .