public function __construct(FolderMapper $folderMapper, IL10N $l10n, ITimeFactory $timeFactory, Config $config) { parent::__construct($folderMapper); $this->l10n = $l10n; $this->timeFactory = $timeFactory; $this->autoPurgeMinimumInterval = $config->getAutoPurgeMinimumInterval(); $this->folderMapper = $folderMapper; }
public function __construct(FeedMapper $feedMapper, Fetcher $feedFetcher, ItemMapper $itemMapper, ILogger $logger, IL10N $l10n, ITimeFactory $timeFactory, Config $config, HTMLPurifier $purifier, $LoggerParameters) { parent::__construct($feedMapper); $this->feedFetcher = $feedFetcher; $this->itemMapper = $itemMapper; $this->logger = $logger; $this->l10n = $l10n; $this->timeFactory = $timeFactory; $this->autoPurgeMinimumInterval = $config->getAutoPurgeMinimumInterval(); $this->purifier = $purifier; $this->feedMapper = $feedMapper; $this->loggerParams = $LoggerParameters; }