drupal-civicrm/sites/all/modules/civicrm/Civi/Token/Event/TokenEvent.php

26 lines
438 B
PHP
Raw Normal View History

2018-01-14 15:10:16 +02:00
<?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;
}
}