drupal-civicrm/sites/all/modules/civicrm/Civi/Token/Event/TokenEvent.php
2018-01-14 13:10:16 +00:00

26 lines
438 B
PHP

<?php
namespace Civi\Token\Event;
use Symfony\Component\EventDispatcher\Event;
/**
* Class TokenListEvent
* @package Civi\Token\Event
*/
class TokenEvent extends Event {
protected $tokenProcessor;
public function __construct($tokenProcessor) {
$this->tokenProcessor = $tokenProcessor;
}
/**
* @return \Civi\Token\TokenProcessor
*/
public function getTokenProcessor() {
return $this->tokenProcessor;
}
}