1 | <?php |
||
26 | class Caldav extends Model |
||
27 | { |
||
28 | //TODO fillable and other fields |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $primaryKey = 'calendar_id'; |
||
34 | |||
35 | /** |
||
36 | * @var array |
||
37 | */ |
||
38 | protected $touches = ['calendar']; |
||
39 | |||
40 | /** |
||
41 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
42 | */ |
||
43 | public function Calendar() |
||
47 | |||
48 | //TODO remmeber to don't allow to change timelsot for a caldav claendar |
||
49 | |||
50 | /** |
||
51 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
52 | */ |
||
53 | public function Employee() |
||
57 | } |
||
58 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.