You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mods-for-HESK-Netsyms/api/BusinessLogic/Calendar/CalendarHandler.php

18 lines
506 B
PHP

<?php
namespace BusinessLogic\Calendar;
use DataAccess\Calendar\CalendarGateway;
class CalendarHandler extends \BaseClass {
private $calendarGateway;
public function __construct(CalendarGateway $calendarGateway) {
$this->calendarGateway = $calendarGateway;
}
public function getEventsForStaff($startTime, $endTime, $searchEventsFilter, $heskSettings) {
return $this->calendarGateway->getEventsForStaff($startTime, $endTime, $searchEventsFilter, $heskSettings);
}
}