You are here

public function JwtAuthConsumerSubscriber::__construct in JSON Web Token Authentication (JWT) 8.0

Same name and namespace in other branches
  1. 8 modules/jwt_auth_consumer/src/EventSubscriber/JwtAuthConsumerSubscriber.php \Drupal\jwt_auth_consumer\EventSubscriber\JwtAuthConsumerSubscriber::__construct()

Constructor.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service.

File

modules/jwt_auth_consumer/src/EventSubscriber/JwtAuthConsumerSubscriber.php, line 31

Class

JwtAuthConsumerSubscriber
Class JwtAuthConsumerSubscriber.

Namespace

Drupal\jwt_auth_consumer\EventSubscriber

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}