1 | <?php |
||
8 | class EloquentSnapshot extends Model |
||
9 | { |
||
10 | public $guarded = []; |
||
11 | |||
12 | public $timestamps = false; |
||
13 | |||
14 | protected $table = 'snapshots'; |
||
15 | |||
16 | public $casts = [ |
||
17 | 'state' => 'array', |
||
18 | ]; |
||
19 | |||
20 | public function toSnapshot(): Snapshot |
||
24 | |||
25 | public function scopeUuid(Builder $query, string $uuid): void |
||
29 | } |
||
30 |