You are here

public function EmailTokenEvaluator::__construct in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/Service/EmailTokenEvaluator.php \Drupal\easy_email\Service\EmailTokenEvaluator::__construct()

Constructs the EmailTokenEvaluator

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher:

\Drupal\Core\Utility\Token $token:

File

src/Service/EmailTokenEvaluator.php, line 32

Class

EmailTokenEvaluator

Namespace

Drupal\easy_email\Service

Code

public function __construct(EventDispatcherInterface $eventDispatcher, Token $token) {
  $this->token = $token;
  $this->eventDispatcher = $eventDispatcher;
}