public function load(ObjectManager $manager)
 {
     $lesUsers = array(array('nom' => 'Quesque', 'prenom' => 'Sévérine', 'email' => '*****@*****.**', 'plainPassword' => 'root', 'roles' => ['ROLE_ENSEIGNANT'], 'reference' => 'severine_quesque'), array('nom' => 'Lespagnol', 'prenom' => 'Guillaume', 'email' => '*****@*****.**', 'plainPassword' => 'root', 'roles' => array('ROLE_ETUDIANT'), 'reference' => 'guillaume_lespagnol'));
     foreach ($lesUsers as $unUser) {
         $user = new User();
         $user->setNom($unUser['nom']);
         $user->setPrenom($unUser['prenom']);
         $user->setEmail($unUser['email']);
         $user->setPlainPassword($unUser['plainPassword']);
         $user->setRoles($unUser['roles']);
         $manager->persist($user);
         $this->addReference($unUser['reference'], $user);
     }
     $manager->flush();
 }
 /**
  * {@inheritDoc}
  */
 public function setPlainPassword($password)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPlainPassword', [$password]);
     return parent::setPlainPassword($password);
 }