public function load(ObjectManager $manager)
 {
     $role = new Role();
     $role->setNome('Visitante');
     $manager->persist($role);
     $visitante = $manager->getReference('EOSAcl\\Entity\\Role', 1);
     $role = new Role();
     $role->setNome('Registrado')->setParent($visitante);
     $manager->persist($role);
     $registrado = $manager->getReference('EOSAcl\\Entity\\Role', 2);
     $role = new Role();
     $role->setNome('Redator')->setParent($registrado);
     $manager->persist($role);
     $role = new Role();
     $role->setNome('Admin')->setIsAdmin(TRUE);
     $manager->persist($role);
     $manager->flush();
 }
 /**
  * {@inheritDoc}
  */
 public function toArray()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', array());
     return parent::toArray();
 }