public function load(ObjectManager $manager)
 {
     $lesClasses = array(array('section_reference' => 'sio', 'niveau' => 1, 'reference' => 'sio1'), array('section_reference' => 'sio', 'niveau' => 2, 'reference' => 'sio2'), array('section_reference' => 'muc', 'niveau' => 1, 'reference' => 'muc1'), array('section_reference' => 'muc', 'niveau' => 2, 'reference' => 'muc2'), array('section_reference' => 'muc', 'niveau' => 3, 'reference' => 'muc3'));
     foreach ($lesClasses as $uneClasse) {
         $classe = new Classe();
         $classe->setSection($manager->merge($this->getReference($uneClasse['section_reference'])));
         $classe->setNiveau($uneClasse['niveau']);
         $manager->persist($classe);
         $this->addReference($uneClasse['reference'], $classe);
     }
     $manager->flush();
 }
 /**
  * {@inheritDoc}
  */
 public function getEtudiants()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEtudiants', []);
     return parent::getEtudiants();
 }