/**
  * Load data fixtures with the passed EntityManager
  *
  * @param ObjectManager $manager
  */
 public function load(ObjectManager $manager)
 {
     $resource = new Resource();
     $resource->setName("Posts");
     $manager->persist($resource);
     $resource = new Resource();
     $resource->setName("Páginas");
     $manager->persist($resource);
     $manager->flush();
 }
 /**
  * {@inheritDoc}
  */
 public function setUpdatedAt()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', array());
     return parent::setUpdatedAt();
 }