Total Complexity | 5 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class Thread extends Model |
||
8 | { |
||
9 | protected $table = 'threads'; |
||
10 | |||
11 | protected $dates = [ |
||
12 | 'created_at', |
||
13 | 'updated_at' |
||
14 | ]; |
||
15 | |||
16 | public function topic() { |
||
18 | } |
||
19 | |||
20 | public function user() { |
||
22 | } |
||
23 | |||
24 | public function doctor() { |
||
25 | return $this->belongsTo('App\Doctor'); |
||
26 | } |
||
27 | |||
28 | public function trimStr(string $string) { |
||
31 | } |
||
32 | } |
||
34 |