src/Html2Pdf.php
protected function addTagObject(TagInterface $tagObject)
    {
        $tagName = strtolower($tagObject->getName());
        $this->tagObjects[$tagName] = $tagObject;
    }
protected function addTagObject(TagInterface $tagObject)
    {
        $tagName = strtolower($tagObject->getName());
        $this->tagObjects[$tagName] = $tagObject;
    }
protected function addTagObject ( TagInterface $ tagObject ) { $ tagName = strtolower ( $ tagObject -> getName ( ) ) ; $ this -> tagObjects [ $ tagName ] = $ tagObject ; }
register a tag object

@param TagInterface $tagObject the object
register a tag object