Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
25 | class ExperiencePersonal extends BaseModel |
||
26 | { |
||
27 | protected $casts = [ |
||
28 | 'title' => 'string', |
||
29 | 'description' => 'string', |
||
30 | 'is_shareable' => 'boolean', |
||
31 | 'is_active' => 'boolean', |
||
32 | 'start_date' => 'date', |
||
33 | 'end_date' => 'date' |
||
34 | ]; |
||
35 | |||
36 | protected $fillable = [ |
||
37 | 'title', |
||
38 | 'description', |
||
39 | 'is_shareable', |
||
40 | 'is_active', |
||
41 | 'start_date', |
||
42 | 'end_date' |
||
43 | ]; |
||
44 | |||
45 | protected $table = ['experiences_personal']; |
||
46 | |||
47 | public function experienceable() //phpcs:ignore |
||
48 | { |
||
49 | return $this->morphTo(); |
||
50 | } |
||
51 | |||
52 | public function skills() |
||
55 | } |
||
56 | } |
||
57 |