WorktimeNotificationService
Table of Contents
Methods
-
__construct()
: mixed
-
sendViolationNotification()
: mixed
-
sendViolationsNotifications()
: mixed
__construct()
public
__construct(ScheduleRepository $scheduleRepository, WorktimeNotifierFactory $notifierFactory, UserHelper $userHelper, TimeHelper $timeHelper, TimemanUrlManager $urlManager) : mixed
Parameters
-
$scheduleRepository
: ScheduleRepository
-
-
$notifierFactory
: WorktimeNotifierFactory
-
-
$userHelper
: UserHelper
-
-
$timeHelper
: TimeHelper
-
-
$urlManager
: TimemanUrlManager
-
sendViolationNotification()
public
sendViolationNotification(mixed $schedule, NotificationParameters $notificationParams) : mixed
Parameters
-
$schedule
: mixed
-
-
$notificationParams
: NotificationParameters
-
sendViolationsNotifications()
public
sendViolationsNotifications(Schedule $schedule, array<string|int, WorktimeViolation> $violations[, WorktimeRecord $worktimeRecord = null ][, mixed $paramsCallback = null ]) : mixed
Parameters
-
$schedule
: Schedule
-
-
$violations
: array<string|int, WorktimeViolation>
-
-
$worktimeRecord
: WorktimeRecord
= null
-
-
$paramsCallback
: mixed
= null
-