Esempio n. 1
0
 /**
  * Gets the list of all Items for a specific Meeting.
  */
 public function getItemsAction(Meeting $meeting)
 {
     $em = $this->getDoctrine()->getManager();
     // TODO : Add authorization based on meeting container
     $items = $meeting->getItems();
     $view = $this->view($items, Response::HTTP_OK);
     return $this->handleView($view);
 }