src/CfdiUtils/CfdiValidator33.php
public function validateNode(NodeInterface $node): Asserts
    {
        return $this->validate(XmlNodeUtils::nodeToXmlString($node), $node);
    }
public function validateNode(NodeInterface $node): Asserts
    {
        return $this->validate(XmlNodeUtils::nodeToXmlString($node), $node);
    }
public function validateNode ( NodeInterface $ node ) : Asserts { return $ this -> validate ( XmlNodeUtils :: nodeToXmlString ( $ node ) , $ node ) ; }
Validate and return the asserts from the validation process based on a node interface object

@param NodeInterface $node
@return Asserts|\CfdiUtils\Validate\Assert[]
Validate and return the asserts from the validation process based on a node interface object