1 | <?php |
||
22 | class Revision extends Model |
||
23 | { |
||
24 | /** |
||
25 | * @var array The attributes that should be cast to native types. |
||
26 | */ |
||
27 | protected $casts = [ |
||
28 | 'published' => 'boolean', |
||
29 | ]; |
||
30 | |||
31 | /** |
||
32 | * @var array The model's attributes. |
||
33 | */ |
||
34 | protected $attributes = [ |
||
35 | 'published' => true, |
||
36 | ]; |
||
37 | |||
38 | /** |
||
39 | * Get the revisions for this class |
||
40 | * |
||
41 | * @codeCoverageIgnore |
||
42 | */ |
||
43 | public function content() |
||
47 | } |
||
48 |