You are here

public function LinkExtractorService::__construct in Link checker 8

Constructs a new LinkExtractor object.

File

src/LinkExtractorService.php, line 74

Class

LinkExtractorService
Class LinkExtractor.

Namespace

Drupal\linkchecker

Code

public function __construct(LinkExtractorManager $extractorManager, EntityTypeManagerInterface $entityTypeManager, ConfigFactory $configFactory, RequestStack $requestStack, Connection $dbConnection, TimeInterface $time) {
  $this->extractorManager = $extractorManager;
  $this->entityTypeManager = $entityTypeManager;
  $this->linkcheckerSetting = $configFactory
    ->get('linkchecker.settings');
  $this->request = $requestStack
    ->getCurrentRequest();
  $this->database = $dbConnection;
  $this->time = $time;
}