Commit | Line | Data |
---|---|---|
8adcd073 TO |
1 | <?php |
2 | namespace Civi\Token\Event; | |
3 | ||
4 | use Symfony\Component\EventDispatcher\Event; | |
5 | ||
6 | /** | |
7 | * Class TokenListEvent | |
8 | * @package Civi\Token\Event | |
9 | */ | |
10 | class 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 | } |