1 | <?php |
||
10 | abstract class AbstractEvent |
||
11 | { |
||
12 | protected $attributes = []; |
||
13 | |||
14 | protected $type; |
||
15 | |||
16 | public function __construct(Model $model) |
||
42 | |||
43 | public function getContent() |
||
50 | |||
51 | /** |
||
52 | * Set a given log value. |
||
53 | * |
||
54 | * @param array|string $key |
||
55 | * @param mixed $value |
||
56 | */ |
||
57 | private function setAttribute($key, $value = null) |
||
65 | |||
66 | /** |
||
67 | * Get the specified log value. |
||
68 | * |
||
69 | * @param null|string $key |
||
70 | * @param mixed $default |
||
71 | * |
||
72 | * @return mixed |
||
73 | */ |
||
74 | public function getAttribute($key = null, $default = null) |
||
78 | } |
||
79 |