コード例 #1
0
ファイル: folderservice.php プロジェクト: cs-team/news
 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;
 }
コード例 #2
0
ファイル: itemservice.php プロジェクト: HomeThings/news
 public function __construct(ItemMapper $itemMapper, StatusFlag $statusFlag, ITimeFactory $timeFactory, Config $config, IConfig $systemConfig)
 {
     parent::__construct($itemMapper);
     $this->statusFlag = $statusFlag;
     $this->config = $config;
     $this->timeFactory = $timeFactory;
     $this->itemMapper = $itemMapper;
     $this->systemConfig = $systemConfig;
 }
コード例 #3
0
ファイル: feedservice.php プロジェクト: amin-hedayati/news
 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;
 }
コード例 #4
0
ファイル: ServiceTest.php プロジェクト: cs-team/news
 public function __construct($mapper)
 {
     parent::__construct($mapper);
 }