Files
laravel-manager-packagist/src/Models/Revision.php
T
2026-12-04 09:21:04 +00:00

16 lines
377 B
PHP

<?php
namespace IriksIT\Manager\Models;
/** An earlier state of a post, a page or another record that keeps a history (module `revisions`). */
class Revision extends Model
{
/** Only `created_at`, set when the state is kept. */
public $timestamps = false;
protected function casts(): array
{
return ['data' => 'array', 'changed' => 'array'];
}
}