Commit | Line | Data |
---|---|---|
8498c2b7 | 1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
41498ac5 | 4 | | Copyright CiviCRM LLC. All rights reserved. | |
8498c2b7 | 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 | | |
8498c2b7 | 9 | +--------------------------------------------------------------------+ |
d25dd0ee | 10 | */ |
8498c2b7 | 11 | |
12 | namespace Civi\Core\DAO\Event; | |
13 | ||
14 | /** | |
15 | * Class PostUpdate | |
16 | * @package Civi\Core\DAO\Event | |
17 | */ | |
18 | class PostDelete extends \Symfony\Component\EventDispatcher\Event { | |
19 | ||
20 | /** | |
8d0a3eb6 | 21 | * @var \CRM_Core_DAO |
8498c2b7 | 22 | */ |
23 | public $object; | |
24 | ||
48d849b1 | 25 | /** |
8d0a3eb6 | 26 | * @var mixed |
48d849b1 | 27 | */ |
28 | public $result; | |
29 | ||
7fe37828 EM |
30 | /** |
31 | * @param $object | |
32 | * @param $result | |
33 | */ | |
00be9182 | 34 | public function __construct($object, $result) { |
8498c2b7 | 35 | $this->object = $object; |
48d849b1 | 36 | $this->result = $result; |
8498c2b7 | 37 | } |
21f8fcf7 | 38 | |
8498c2b7 | 39 | } |