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 | 'kegiatan_id', |
||
21 | 'bobot', |
||
22 | 'akademik', |
||
23 | 'prestasi', |
||
24 | 'zona', |
||
25 | 'sktm', |
||
26 | 'total', |
||
27 | 'user_id', |
||
28 | ]; |
||
29 | |||
30 | public function setTotalAttribute($value) |
||
39 | |||
40 | public function siswa() |
||
44 | |||
45 | public function user() |
||
49 | |||
50 | public function nilai_akademik() |
||
54 | |||
55 | public function kegiatan() |
||
59 | } |
||
60 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.