public function LinkCheckerService::__construct in Link checker 8
Constructs a new LinkCheckerService object.
File
- src/
LinkCheckerService.php, line 77
Class
- LinkCheckerService
- Class LinkCheckerService.
Namespace
Drupal\linkcheckerCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, ConfigFactory $config, Client $httpClient, TimeInterface $time, QueueFactory $queueFactory, LinkStatusHandlerManager $statusHandlerManager) {
$this->entityTypeManager = $entityTypeManager;
$this->linkcheckerSetting = $config
->get('linkchecker.settings');
$this->httpClient = $httpClient;
$this->time = $time;
$this->queue = $queueFactory
->get('linkchecker_check');
$this->statusHandlerManager = $statusHandlerManager;
}