18 lines
506 B
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);
|
||
|
}
|
||
|
}
|