1 | <?php |
||
8 | class Nilai extends Model |
||
9 | { |
||
10 | use SoftDeletes; |
||
11 | |||
12 | public $timestamps = true; |
||
13 | |||
14 | protected $table = 'nilais'; |
||
15 | protected $dates = [ |
||
16 | 'deleted_at' |
||
17 | ]; |
||
18 | protected $fillable = [ |
||
19 | 'nomor_un', |
||
20 | 'bobot', |
||
21 | 'akademik', |
||
22 | 'prestasi', |
||
23 | 'zona', |
||
24 | 'sktm', |
||
25 | 'total', |
||
26 | 'user_id', |
||
27 | ]; |
||
28 | |||
29 | public function setTotalAttribute($value) |
||
38 | |||
39 | public function siswa() |
||
43 | |||
44 | public function user() |
||
48 | |||
49 | public function nilaiAkademik() |
||
53 | } |
||
54 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.