| 1 | <?php |
||
| 8 | class DataEvent extends Event |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Owner object |
||
| 12 | * |
||
| 13 | * @var BaseObject |
||
| 14 | */ |
||
| 15 | public $owner = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Additional data for event |
||
| 19 | * |
||
| 20 | * @var [] |
||
| 21 | */ |
||
| 22 | public $params = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Constructor. |
||
| 26 | * |
||
| 27 | * @param mixed $owner the object associated with this event |
||
| 28 | * @param array $config name-value pairs that will be used to initialize the object properties |
||
| 29 | */ |
||
| 30 | public function __construct($owner, $config = []) |
||
| 35 | } |
||
| 36 |