1 | <?php |
||
17 | class TermContent extends Model |
||
18 | { |
||
19 | /** |
||
20 | * @var bool Indicates if the model should be timestamped. |
||
21 | */ |
||
22 | public $timestamps = false; |
||
23 | |||
24 | /** |
||
25 | * @var string The table associated with the model. |
||
26 | */ |
||
27 | protected $table = 'taxonomy_content'; |
||
28 | |||
29 | /** |
||
30 | * @var array The attributes that are mass assignable. |
||
31 | */ |
||
32 | protected $fillable = ['term_id']; |
||
33 | |||
34 | /** |
||
35 | * The term linked to this relation. |
||
36 | * |
||
37 | * @codeCoverageIgnore |
||
38 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
39 | */ |
||
40 | public function term() |
||
44 | |||
45 | /** |
||
46 | * The model linked to this relation. |
||
47 | * |
||
48 | * @codeCoverageIgnore |
||
49 | * @return \Illuminate\Database\Eloquent\Relations\MorphTo |
||
50 | */ |
||
51 | public function relationable() |
||
55 | } |
||
56 |