Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
7 | class RelatedItem extends BaseModel |
||
8 | { |
||
9 | protected $guarded = []; |
||
10 | |||
11 | protected $primaryKey = null; |
||
12 | |||
13 | public $incrementing = false; |
||
14 | |||
15 | public $timestamps = false; |
||
16 | |||
17 | public function related() |
||
18 | { |
||
19 | return $this->morphTo('related'); |
||
20 | } |
||
21 | |||
22 | public function subject() |
||
23 | { |
||
24 | return $this->morphTo('subject'); |
||
25 | } |
||
26 | |||
27 | public function getTable() |
||
30 | } |
||
31 | } |
||
32 |