src/CfdiUtils/XmlResolver/XmlResolver.php
public function setDownloader(DownloaderInterface $downloader = null)
    {
        if (null === $downloader) {
            $downloader = $this->defaultDownloader();
        }
        $this->downloader = $downloader;
    }
public function setDownloader(DownloaderInterface $downloader = null)
    {
        if (null === $downloader) {
            $downloader = $this->defaultDownloader();
        }
        $this->downloader = $downloader;
    }
public function setDownloader ( DownloaderInterface $ downloader = null ) { if ( null === $ downloader ) { $ downloader = $ this -> defaultDownloader ( ) ; } $ this -> downloader = $ downloader ; }
Set the downloader object.
If send a NULL value the object return by defaultDownloader will be set.

@param DownloaderInterface|null $downloader
Set the downloader object . If send a NULL value the object return by defaultDownloader will be set .