Esempio 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();
 }
Esempio 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();
 }
Esempio 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();
 }
Esempio 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();
 }
Esempio 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();
 }
Esempio 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();
 }
Esempio 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 toArray()
 {
     $this->__load();
     return parent::toArray();
 }
 /**
  * {@inheritDoc}
  */
 public function toArray()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', array());
     return parent::toArray();
 }