/**
  * @param PolicyCheckable $policyCheckable
  * @param MeetingTimeslot $MeetingTimeslot
  * @return bool
  */
 private function userCheck(PolicyCheckable $policyCheckable, MeetingTimeslot $MeetingTimeslot)
 {
     return $policyCheckable->verifyMeetingTimeslot($MeetingTimeslot);
 }
示例#2
0
 /**
  * @param PolicyCheckable $policyCheckable
  * @param Employee $employee
  * @return bool
  */
 private function userCheck(PolicyCheckable $policyCheckable, Employee $employee)
 {
     return $policyCheckable->verifyEmployee($employee);
 }
示例#3
0
 /**
  * @param PolicyCheckable $policyCheckable
  * @param Calendar $calendar
  * @return bool
  */
 private function userCheck(PolicyCheckable $policyCheckable, Calendar $calendar)
 {
     return $policyCheckable->verifyCalendar($calendar);
 }
示例#4
0
 /**
  * @param PolicyCheckable $policyCheckable
  * @param Timeslot $timeslot
  * @return bool
  */
 private function userCheck(PolicyCheckable $policyCheckable, Timeslot $timeslot)
 {
     return $policyCheckable->verifyTimeslot($timeslot);
 }
示例#5
0
 /**
  * @param PolicyCheckable $policyCheckable
  * @param Meeting $Meeting
  * @return bool
  */
 private function userCheck(PolicyCheckable $policyCheckable, Meeting $Meeting)
 {
     return $policyCheckable->verifyMeeting($Meeting);
 }
示例#6
0
 /**
  * @param PolicyCheckable $policyCheckable
  * @param Group $group
  * @return bool
  */
 private function userCheck(PolicyCheckable $policyCheckable, Group $group)
 {
     return $policyCheckable->verifyGroup($group);
 }