You are here

public function UserEmailVerificationVerify::__construct in User email verification 8

Constructs a new object.

Parameters

\Drupal\user_email_verification\UserEmailVerificationInterface $user_email_verification_service: User email verification helper service.

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

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher service.

File

src/Controller/UserEmailVerificationVerify.php, line 51

Class

UserEmailVerificationVerify
Email verificationVerify controller.

Namespace

Drupal\user_email_verification\Controller

Code

public function __construct(UserEmailVerificationInterface $user_email_verification_service, TimeInterface $datetime_time, EventDispatcherInterface $event_dispatcher) {
  $this->userEmailVerification = $user_email_verification_service;
  $this->time = $datetime_time;
  $this->eventDispatcher = $event_dispatcher;
}