public function HeartbeatStreamServices::__construct in Heartbeat 8
Constructor.
Parameters
EntityTypeManager $entityTypeManager:
EntityTypeRepository $entityTypeRepository:
QueryFactory $entityQuery:
\Drupal\Core\Config\ConfigFactoryInterface $configFactory:
Connection|\Drupal\Core\Database\Database $database:
File
- src/
HeartbeatStreamServices.php, line 68
Class
- HeartbeatStreamServices
- Class HeartbeatStreamServices.
Namespace
Drupal\heartbeatCode
public function __construct(EntityTypeManager $entityTypeManager, EntityTypeRepository $entityTypeRepository, QueryFactory $entityQuery, ConfigFactoryInterface $configFactory, Connection $database) {
$this->entityTypeManager = $entityTypeManager;
$this->entityTypeRepository = $entityTypeRepository;
$this->entityQuery = $entityQuery;
$this->configFactory = $configFactory;
$this->database = $database;
}