src/CFDIReader/SchemasValidator/SchemasValidator.php
public function validate(string $content)
    {
        if ($this->hasRetriever()) {
            $this->validateWithRetriever($content);
        } else {
            $this->validateWithoutRetriever($content);
        }
    }
public function validate(string $content)
    {
        if ($this->hasRetriever()) {
            $this->validateWithRetriever($content);
        } else {
            $this->validateWithoutRetriever($content);
        }
    }
Validate according to the current retriever.
If retriever is set then it will use validateWithRetriever,
otherwise it will use validateWithoutRetriever.

@see validateWithRetriever
@see validateWithoutRetriever

@param string $content
@throws \RuntimeException on validation errors