• Модуль: timeman
  • Путь к файлу: ~/bitrix/modules/timeman/lib/service/worktime/violation/worktimeviolationbuilder.php
  • Класс: BitrixTimemanServiceWorktimeViolationWorktimeViolationBuilder
  • Вызов: WorktimeViolationBuilder::getCalendar
protected function getCalendar($calendarId, $year)
{
	$key = $calendarId . $year;
	if (($this->calendars[$key] ?? null) === null)
	{
		$this->calendars[$key] = $this->calendarRepository
			->findByIdWithParentCalendarExclusions($calendarId, $year);
	}

	return $this->calendars[$key];
}