Commit | Line | Data |
---|---|---|
0085db83 C |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
41498ac5 | 4 | | Copyright CiviCRM LLC. All rights reserved. | |
0085db83 | 5 | | | |
41498ac5 TO |
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 | | |
0085db83 C |
9 | +--------------------------------------------------------------------+ |
10 | */ | |
11 | ||
12 | namespace Civi\Core\Event; | |
13 | ||
14 | /** | |
15 | * Class SystemInstallEvent | |
16 | * @package Civi\API\Event | |
17 | */ | |
18 | class SystemInstallEvent extends \Symfony\Component\EventDispatcher\Event { | |
19 | ||
20 | /** | |
21 | * The SystemInstallEvent fires once after installation - during the first page-view. | |
1d440215 TO |
22 | * |
23 | * @deprecated - You may simply use the event name directly. dev/core#1744 | |
0085db83 C |
24 | */ |
25 | const EVENT_NAME = 'civi.core.install'; | |
26 | ||
0d0031a0 TO |
27 | /** |
28 | * @param \Civi\Core\Event\GenericHookEvent $e | |
47e7c2f8 | 29 | * @see \CRM_Utils_Hook::eventDefs |
0d0031a0 TO |
30 | */ |
31 | public static function hookEventDefs($e) { | |
1d440215 | 32 | $e->inspector->addEventClass('civi.core.install', __CLASS__); |
0d0031a0 TO |
33 | } |
34 | ||
0085db83 | 35 | } |