/** * Removes the log for an import * * @param Import $import */ public function removeImportLog(Import $import) { $this->logger->debug(sprintf('Removing log for import <info>%d</info>', $import->getId())); $this->itemLogger->delete($this->getImportItemSetName($import)); }
/** * @param Import $import * * @return string */ public function getImportDir(Import $import) { return sprintf('%s/%s', $this->feedDir, $import->getId()); }