src/CfdiUtils/Cleaner/Cleaner.php
public static function staticClean($content): string
    {
        $cleaner = new self($content);
        $cleaner->clean();
        return $cleaner->retrieveXml();
    }
public static function staticClean($content): string
    {
        $cleaner = new self($content);
        $cleaner->clean();
        return $cleaner->retrieveXml();
    }
public static function staticClean ( $ content ) : string { $ cleaner = new self ( $ content ) ; $ cleaner -> clean ( ) ; return $ cleaner -> retrieveXml ( ) ; }
Method to clean content and return the result
If an error occurs, an exception is thrown
@param string $content
@return string
Method to clean content and return the result If an error occurs an exception is thrown