You are here

public function LinkCheckerCommands::__construct in Link checker 8

LinkCheckerCommands constructor.

File

src/Commands/LinkCheckerCommands.php, line 58

Class

LinkCheckerCommands
Drush 9 commands for Linkchecker module.

Namespace

Drupal\linkchecker\Commands

Code

public function __construct(ConfigFactoryInterface $configFactory, LoggerInterface $logger, LinkExtractorBatch $extractorBatch, LinkCheckerBatch $checkerBatch, LinkCleanUp $linkCleanUp) {
  parent::__construct();
  $this->linkcheckerSetting = $configFactory
    ->get('linkchecker.settings');
  $this->logger = $logger;
  $this->extractorBatch = $extractorBatch;
  $this->checkerBatch = $checkerBatch;
  $this->linkCleanUp = $linkCleanUp;
}