| 1 | <?php |
||
| 7 | class ExceptionModel extends Model { |
||
| 8 | protected $table; |
||
| 9 | protected $guarded = array('id'); |
||
| 10 | |||
| 11 | 3 | public function __construct(array $attributes = []) |
|
| 16 | |||
| 17 | 3 | public function setDataAttribute($value) { |
|
| 18 | 3 | $this->attributes['data'] = json_encode($value); |
|
| 19 | 3 | } |
|
| 20 | |||
| 21 | public function getDataAttribute($value) { |
||
| 24 | } |