public function load(ObjectManager $manager)
 {
     $question = new Question();
     $question->setSubject('question1');
     $question->setUser($this->getReference('group-group1'));
     $this->addReference('question1', $question);
     $manager->persist($question);
     $manager->flush();
 }
 public function load(ObjectManager $manager)
 {
     $group = $this->getReference('group');
     $question = new GroupQuestion();
     $question->setUser($group);
     $question->setSubject('test');
     $this->addReference('groupQuestion1', $question);
     $manager->persist($question);
     $manager->flush();
 }
 public function getGroupSections()
 {
     $this->__load();
     return parent::getGroupSections();
 }