| 1 | <?php |
||
| 10 | class EloquentSnapshot extends Model |
||
| 11 | { |
||
| 12 | public $guarded = []; |
||
| 13 | |||
| 14 | public $timestamps = false; |
||
| 15 | |||
| 16 | protected $table = 'snapshots'; |
||
| 17 | |||
| 18 | public $casts = [ |
||
| 19 | 'state' => 'array', |
||
| 20 | ]; |
||
| 21 | |||
| 22 | public function toSnapshot(): Snapshot |
||
| 26 | |||
| 27 | public function getStateAttribute(): SchemalessAttributes |
||
| 31 | |||
| 32 | public function scopeUuid(Builder $query, string $uuid): void |
||
| 36 | } |
||
| 37 |