Merge pull request #17346 from eileenmcnaughton/trans2
[civicrm-core.git] / Civi / Token / Event / TokenEvent.php
CommitLineData
8adcd073
TO
1<?php
2namespace Civi\Token\Event;
3
4use Symfony\Component\EventDispatcher\Event;
5
6/**
7 * Class TokenListEvent
8 * @package Civi\Token\Event
9 */
10class TokenEvent extends Event {
11
12 protected $tokenProcessor;
13
14 public function __construct($tokenProcessor) {
15 $this->tokenProcessor = $tokenProcessor;
16 }
17
18 /**
19 * @return \Civi\Token\TokenProcessor
20 */
21 public function getTokenProcessor() {
22 return $this->tokenProcessor;
23 }
24
25}