lib/Touki/FTP/DownloaderVoter.php
public function addDefaultFTPDownloaders(FTPWrapper $wrapper)
    {
        $this->addVotable(new FTPDownloader\FileDownloader($wrapper));
        $this->addVotable(new FTPDownloader\ResourceDownloader($wrapper));
        $this->addVotable(new FTPDownloader\NbFileDownloader($wrapper));
        $this->addVotable(new FTPDownloader\NbResourceDownloader($wrapper));
    }
public function addDefaultFTPDownloaders(FTPWrapper $wrapper)
    {
        $this->addVotable(new FTPDownloader\FileDownloader($wrapper));
        $this->addVotable(new FTPDownloader\ResourceDownloader($wrapper));
        $this->addVotable(new FTPDownloader\NbFileDownloader($wrapper));
        $this->addVotable(new FTPDownloader\NbResourceDownloader($wrapper));
    }
public function addDefaultFTPDownloaders ( FTPWrapper $ wrapper ) { $ this -> addVotable ( new FTPDownloader \ FileDownloader ( $ wrapper ) ) ; $ this -> addVotable ( new FTPDownloader \ ResourceDownloader ( $ wrapper ) ) ; $ this -> addVotable ( new FTPDownloader \ NbFileDownloader ( $ wrapper ) ) ; $ this -> addVotable ( new FTPDownloader \ NbResourceDownloader ( $ wrapper ) ) ; }
Adds the default downloaders

@param FTPWrapper $wrapper An FTP Wrapper
Adds the default downloaders