You are here

public function LinkCheckerBatch::__construct in Link checker 8

LinkExtractorBatch constructor.

File

src/LinkCheckerBatch.php, line 62

Class

LinkCheckerBatch
Helper service to handle links checking.

Namespace

Drupal\linkchecker

Code

public function __construct(LinkCheckerService $checker, EntityTypeManagerInterface $entityTypeManager, LockBackendInterface $lock, QueueFactory $queueFactory, QueueWorkerManagerInterface $queueWorkerManager) {
  $this->checker = $checker;
  $this->entityTypeManager = $entityTypeManager;
  $this->lock = $lock;
  $this->queueFactory = $queueFactory;
  $this->queueWorkerManager = $queueWorkerManager;
}