Example #1
0
 /**
  * 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));
 }
Example #2
0
 /**
  * @param Import $import
  *
  * @return string
  */
 public function getImportDir(Import $import)
 {
     return sprintf('%s/%s', $this->feedDir, $import->getId());
 }