Ejemplo n.º 1
0
 protected function startup()
 {
     parent::startup();
     $this->position = time();
     $this->route->setLocalUrl(Strings::webalize(Strings::random()));
     $this->getRoute()->setPublished(TRUE);
 }
Ejemplo n.º 2
0
 protected function startup()
 {
     parent::startup();
     $this->route->published = TRUE;
     $this->setName('');
 }
Ejemplo n.º 3
0
 protected function startup()
 {
     parent::startup();
     $this->categories = new ArrayCollection();
 }
Ejemplo n.º 4
0
 protected function startup()
 {
     parent::startup();
     $this->setName(Strings::random(20));
     $this->route->setPublished(TRUE);
 }
Ejemplo n.º 5
0
 protected function startup()
 {
     parent::startup();
     $this->setName('Cart')->getRoute()->setPublished(TRUE);
 }
Ejemplo n.º 6
0
 protected function startup()
 {
     parent::startup();
     $this->children = new ArrayCollection();
 }
Ejemplo n.º 7
0
 protected function startup()
 {
     parent::startup();
     $this->getRoute()->setLocalUrl('feed.xml')->setTitle('Feed')->setPublished(TRUE);
 }
Ejemplo n.º 8
0
 protected function startup()
 {
     parent::startup();
     $this->targetPages = new ArrayCollection();
 }
Ejemplo n.º 9
0
 protected function startup()
 {
     parent::startup();
     $this->roleEntities = new ArrayCollection();
     $this->logins = new ArrayCollection();
     $this->loginProviders = new ArrayCollection();
     $this->routes = new ArrayCollection();
     $this->generateNewSalt();
     $this->created = new \DateTime();
 }