コード例 #1
0
ファイル: folderbusinesslayer.php プロジェクト: hroo772/news
 public function __construct(FolderMapper $folderMapper, $l10n, $timeFactory, Config $config)
 {
     parent::__construct($folderMapper);
     $this->l10n = $l10n;
     $this->timeFactory = $timeFactory;
     $this->autoPurgeMinimumInterval = $config->getAutoPurgeMinimumInterval();
     $this->folderMapper = $folderMapper;
 }
コード例 #2
0
ファイル: feedbusinesslayer.php プロジェクト: hroo772/news
 public function __construct(FeedMapper $feedMapper, Fetcher $feedFetcher, ItemMapper $itemMapper, Logger $logger, $l10n, $timeFactory, Config $config, Enhancer $enhancer, $purifier)
 {
     parent::__construct($feedMapper);
     $this->feedFetcher = $feedFetcher;
     $this->itemMapper = $itemMapper;
     $this->logger = $logger;
     $this->l10n = $l10n;
     $this->timeFactory = $timeFactory;
     $this->autoPurgeMinimumInterval = $config->getAutoPurgeMinimumInterval();
     $this->enhancer = $enhancer;
     $this->purifier = $purifier;
     $this->feedMapper = $feedMapper;
 }