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

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