Commit | Line | Data |
---|---|---|
e232c68f CW |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
4 | | Copyright CiviCRM LLC. All rights reserved. | | |
5 | | | | |
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 | +--------------------------------------------------------------------+ | |
10 | */ | |
11 | ||
12 | namespace Civi\Core\DAO\Event; | |
13 | ||
14 | /** | |
15 | * Class PreDelete | |
16 | * @package Civi\Core\DAO\Event | |
17 | */ | |
18 | class PreUpdate extends \Symfony\Component\EventDispatcher\Event { | |
19 | ||
20 | /** | |
21 | * @var \CRM_Core_DAO | |
22 | */ | |
23 | public $object; | |
24 | ||
25 | /** | |
26 | * @param $object | |
27 | */ | |
28 | public function __construct($object) { | |
29 | $this->object = $object; | |
30 | } | |
31 | ||
32 | } |