/** * @param Event $event * @return array */ public function getSummary(Event $event) { return array('inscritos' => $this->repository->getCountOfActiveAttendee($event), 'presentes' => $this->repository->getCountOfArrivedAttendee($event)); }