/**
  * @param array $timeBoardData
  * @return TimeBoard
  */
 private function hydrateTimeBoard(array $timeBoardData)
 {
     $timeBoard = new TimeBoard();
     $timeBoard->setId($timeBoardData['id']);
     $timeBoard->setUser($this->userManager->getUserRepository()->getUserByIdentifier($timeBoardData['user_id']));
     $timeBoard->setCourse($this->getCourseByIdentifier($timeBoardData['vak']));
     $timeBoard->setMinutes($timeBoardData['minuten']);
     $timeBoard->setNote($timeBoardData['notitie']);
     $timeBoard->setDate($timeBoardData['datum']);
     return $timeBoard;
 }
 /**
  * @param array $timeBoardData
  * @return TimeBoard
  */
 private function hydrateTimeBoard(array $timeBoardData)
 {
     $timeBoard = new TimeBoard();
     $timeBoard->setId($timeBoardData['id']);
     $timeBoard->setCourse($this->getCourseByIdentifier($timeBoardData['vak']));
     $timeBoard->setNote($timeBoardData['notitie']);
     $timeBoard->setDate($timeBoardData['datum']);
     return $timeBoard;
 }