src/CFDIReader/CFDIFactory.php
public function newRetriever(DownloaderInterface $downloader = null)
    {
        $localResourcesPath = $this->getLocalResourcesPath();
        if ('' === $localResourcesPath) {
            return null;
        }
        return new XsdRetriever($localResourcesPath, $downloader);
    }
public function newRetriever(DownloaderInterface $downloader = null)
    {
        $localResourcesPath = $this->getLocalResourcesPath();
        if ('' === $localResourcesPath) {
            return null;
        }
        return new XsdRetriever($localResourcesPath, $downloader);
    }
Return a new instance of an XsdRetriever depending on the
property localResourcesPath.

@param DownloaderInterface|null $downloader
@return null|XsdRetriever