/** * @param int $listId * @return Task[] */ public function getTasks($listId) { return $this->taskRepository->getListTasks($listId); }