1 | <?php |
||
10 | class News extends Model |
||
11 | { |
||
12 | use SoftDeletes; |
||
13 | |||
14 | protected $table = 'duck_funk_news'; |
||
15 | protected $guarded = []; |
||
16 | |||
17 | /** |
||
18 | * The event map for the model. |
||
19 | * |
||
20 | * @var array |
||
21 | */ |
||
22 | protected $dispatchesEvents = [ |
||
23 | 'saved' => NewsEvent::class, |
||
24 | ]; |
||
25 | |||
26 | public function author() |
||
30 | } |
||
31 |