You are here

public function NewResultsCheck::__construct in Search API Saved Searches 8

Constructs a new class instance.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

\Psr\Log\LoggerInterface $logger: The logger to use.

File

src/Service/NewResultsCheck.php, line 57

Class

NewResultsCheck
Provides a service for checking saved searches for new results.

Namespace

Drupal\search_api_saved_searches\Service

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, ConfigFactoryInterface $configFactory, TimeInterface $time, LoggerInterface $logger) {
  $this->entityTypeManager = $entityTypeManager;
  $this->configFactory = $configFactory;
  $this->time = $time;
  $this->logger = $logger;
}