1 | <?php |
||
35 | class Planner extends Employee |
||
36 | { |
||
37 | |||
38 | /** |
||
39 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
||
40 | */ |
||
41 | 40 | public function groupsManaged() |
|
45 | |||
46 | /* |
||
47 | * for a planer employee the policyCheckable methods say if the planer can modify or not that part |
||
48 | */ |
||
49 | |||
50 | /** |
||
51 | * @param Group $group |
||
52 | * @return bool |
||
53 | */ |
||
54 | 38 | public function verifyGroup(Group $group) |
|
60 | |||
61 | /** |
||
62 | * @param Employee $employee |
||
63 | * @return bool |
||
64 | */ |
||
65 | public function verifyEmployee(Employee $employee) |
||
71 | |||
72 | /** |
||
73 | * @param Company $company |
||
74 | * @return bool |
||
75 | */ |
||
76 | public function verifyCompany(Company $company) |
||
80 | |||
81 | /** |
||
82 | * the employee can see a calendar |
||
83 | * @param Calendar $calendar |
||
84 | * @return bool |
||
85 | */ |
||
86 | public function verifyCalendar(Calendar $calendar) |
||
91 | |||
92 | /** |
||
93 | * @param Meeting $meeting |
||
94 | * @return bool |
||
95 | */ |
||
96 | 18 | public function verifyMeeting(Meeting $meeting) |
|
101 | |||
102 | |||
103 | /** |
||
104 | * @param MeetingTimeslot $meetingTimeslot |
||
105 | * @return bool |
||
106 | */ |
||
107 | 8 | public function verifyMeetingTimeslot(MeetingTimeslot $meetingTimeslot) |
|
112 | } |
||
113 |
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.