3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
12 namespace Civi\Core\Event
;
15 * Class SystemInstallEvent
16 * @package Civi\API\Event
18 class SystemInstallEvent
extends \Symfony\Component\EventDispatcher\Event
{
21 * The SystemInstallEvent fires once after installation - during the first page-view.
23 * @deprecated - You may simply use the event name directly. dev/core#1744
25 const EVENT_NAME
= 'civi.core.install';
28 * @param \Civi\Core\Event\GenericHookEvent $e
29 * @see \CRM_Utils_Hook::eventDefs
31 public static function hookEventDefs($e) {
32 $e->inspector
->addEventClass('civi.core.install', __CLASS__
);