1 | <?php |
||
11 | class Course extends Model |
||
12 | { |
||
13 | /** |
||
14 | * The primary key for the model. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $primaryKey = 'id'; |
||
19 | |||
20 | /** |
||
21 | * The attributes that should be mutated to dates. |
||
22 | * |
||
23 | * @var array |
||
24 | */ |
||
25 | protected $dates = ['begindatum', 'einddatum']; |
||
26 | |||
27 | /** |
||
28 | * Get the url associated with the model. |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | public function getUrl() |
||
36 | } |
||
37 |