/**
  * Week action
  *
  * @param int $year
  * @param int $week
  *
  * @return void
  */
 public function weekAction($year = NULL, $week = NULL)
 {
     if ($year === NULL) {
         $year = date('Y');
     }
     if ($week === NULL) {
         $week = date('W');
     }
     $firstDay = DateTimeUtility::convertWeekYear2DayMonthYear($week, $year);
     $firstDay->setTime(0, 0, 0);
     $this->view->assignMultiple(array('firstDay' => $firstDay, 'indices' => $this->indexRepository->findWeek($year, $week)));
 }
 /**
  * Week action
  *
  * @param int $year
  * @param int $week
  *
  * @return void
  */
 public function weekAction($year = null, $week = null)
 {
     if ($year === null) {
         $year = date('Y');
     }
     if ($week === null) {
         $week = date('W');
     }
     $firstDay = DateTimeUtility::convertWeekYear2DayMonthYear($week, $year);
     $firstDay->setTime(0, 0, 0);
     $this->slotExtendedAssignMultiple(['firstDay' => $firstDay, 'indices' => $this->indexRepository->findWeek($year, $week)], __CLASS__, __FUNCTION__);
 }