+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017 |
+ | Copyright CiviCRM LLC (c) 2004-2018 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
namespace Civi\Core\Event;
/**
- * Class AuthorizeEvent
+ * Class UnhandledExceptionEvent
* @package Civi\API\Event
*/
-class UnhandledExceptionEvent extends \Symfony\Component\EventDispatcher\Event {
+class UnhandledExceptionEvent extends GenericHookEvent {
/**
* @var \Exception
$this->exception = $e;
}
+ /**
+ * @inheritDoc
+ */
+ public function getHookValues() {
+ return array($this->exception, $this->request);
+ }
+
}