Ejemplo n.º 1
0
 public function load(ObjectManager $manager)
 {
     $user = new User();
     $user->setNome("Alex Sandro")->setEmail("alexcomput")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $manager->flush();
 }
Ejemplo n.º 2
0
 public function load(ObjectManager $manager)
 {
     $user = new User();
     $user->setNome("Rodrigo Moraes")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $user = new User();
     $user->setNome("Furia Moraes")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $manager->flush();
 }
Ejemplo n.º 3
0
 public function load(ObjectManager $manager)
 {
     $user = new User();
     $user->setNome("Wesley")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $user = new User();
     $user->setNome("Admin")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $manager->flush();
 }
Ejemplo n.º 4
0
 public function load(ObjectManager $manager)
 {
     $user = new User();
     $user->setNome("Vinícius")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $user1 = new \SONUser\Entity\User();
     $user1->setNome("Admin")->setEmail("*****@*****.**")->setPassword(123456)->setActive(TRUE);
     $manager->persist($user1);
     $manager->flush();
 }
Ejemplo n.º 5
0
 public function load(ObjectManager $manager)
 {
     $user = new User();
     $user->setNome("Admin")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $user = new User();
     $user->setNome("Usuario")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $manager->flush();
 }
Ejemplo n.º 6
0
 public function load(ObjectManager $manager)
 {
     $user = new User();
     $user->setNome("Gabriel")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $user = new User();
     $user->setNome("Admin")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $manager->flush();
 }
 public function load(ObjectManager $manager)
 {
     $user = new User();
     $user->setNome("David")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $user = new User();
     $user->setNome("Admin")->setEmail("*****@*****.**")->setPassword(123456)->setActive(true);
     $manager->persist($user);
     $manager->flush();
 }
Ejemplo n.º 8
0
 public function load(ObjectManager $manager)
 {
     $user = new User();
     $user->setNome('Admin')->setEmail('*****@*****.**')->setPassword('123')->setActive(true);
     $manager->persist($user);
     $user = new User();
     $user->setNome('Marcio Pinheiro')->setEmail('*****@*****.**')->setPassword('123')->setActive(true);
     $manager->persist($user);
     $user = new User();
     $user->setNome('Marta Lopes')->setEmail('*****@*****.**')->setPassword('123')->setActive(true);
     $manager->persist($user);
     $manager->flush();
 }
 public function setNome($nome)
 {
     $this->__load();
     return parent::setNome($nome);
 }
Ejemplo n.º 10
0
 /**
  * {@inheritDoc}
  */
 public function setNome($nome)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNome', array($nome));
     return parent::setNome($nome);
 }