You are here

public function HeartbeatEventSubscriber::__construct in Heartbeat 8

Constructor.

File

src/EventSubscriber/HeartbeatEventSubscriber.php, line 55

Class

HeartbeatEventSubscriber
Class HeartbeatEventSubscriber.

Namespace

Drupal\heartbeat\EventSubscriber

Code

public function __construct(FlagService $flag, HeartbeatTypeService $heartbeat_heartbeattype, HeartbeatStreamServices $heartbeatstream, HeartbeatService $heartbeat) {
  $this->flagService = $flag;
  $this->heartbeatTypeService = $heartbeat_heartbeattype;
  $this->heartbeatStreamService = $heartbeatstream;
  $this->heartbeatService = $heartbeat;
}