/** * @param PollDefinition $pollDefinition * @return \Doctrine\Common\Collections\ArrayCollection */ public function getQuestionDefinitions(PollDefinition $pollDefinition) { return $pollDefinition->getQuestionsDefinitions(); }