| 1 | <?php |
||
| 10 | abstract class AbstractEvent |
||
| 11 | { |
||
| 12 | protected $attributes = []; |
||
| 13 | |||
| 14 | protected $type; |
||
| 15 | |||
| 16 | public function __construct(Model $model) |
||
| 27 | |||
| 28 | public function getContent() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Set a given log value. |
||
| 38 | * |
||
| 39 | * @param array|string $key |
||
| 40 | * @param mixed $value |
||
| 41 | */ |
||
| 42 | private function setAttribute($key, $value = null) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Get the specified log value. |
||
| 53 | * |
||
| 54 | * @param null|string $key |
||
| 55 | * @param mixed $default |
||
| 56 | * |
||
| 57 | * @return mixed |
||
| 58 | */ |
||
| 59 | public function getAttribute($key = null, $default = null) |
||
| 63 | } |
||
| 64 |