You are here

public function EntityViewEventSubscriber::__construct in Better Statistics 8

Constructor.

File

src/EventSubscriber/EntityViewEventSubscriber.php, line 50

Class

EntityViewEventSubscriber
Class EntityViewEventSubscriber.

Namespace

Drupal\better_statistics\EventSubscriber

Code

public function __construct(CurrentRouteMatch $currentRouteMatch, AccountProxy $currentUser, EntityInteractionCollector $entityInteractionCollector) {
  $this->currentRouteMatch = $currentRouteMatch;
  $this->currentUser = $currentUser;
  $this->entityInteractionCollector = $entityInteractionCollector;
}