src/CFDIReader/CFDIFactory.php
public function setLocalResourcesPath(string $localResourcesPath = null)
    {
        if (null === $localResourcesPath) {
            $localResourcesPath = $this->getDefaultLocalResourcesPath();
        }
        $this->localResourcesPath = $localResourcesPath;
    }
public function setLocalResourcesPath(string $localResourcesPath = null)
    {
        if (null === $localResourcesPath) {
            $localResourcesPath = $this->getDefaultLocalResourcesPath();
        }
        $this->localResourcesPath = $localResourcesPath;
    }
Set the local resources path to be used when created the XsdRetriever
If is null then it will take the library installation path + /resources
If is an empty string then no local resources will be used
If is a non-empty string it will use it like the path to store the resources

@param string|null $localResourcesPath