/** * Send information of the catalogs to site in zip archive. Control site answer. * If fail on send - throw exception. */ private function catalogsFileStep() { $catalogController = new CatalogController($this->settings->getAssignedUser()); $importsContent = $catalogController->getXmlCatalogs(); $offersContent = $catalogController->getXmlOffers(); $this->fileManager->setZipCatalogsContent($importsContent, $offersContent); $this->fileTransmittion(); }