protected function startup() { parent::startup(); $this->position = time(); $this->route->setLocalUrl(Strings::webalize(Strings::random())); $this->getRoute()->setPublished(TRUE); }
protected function startup() { parent::startup(); $this->route->published = TRUE; $this->setName(''); }
protected function startup() { parent::startup(); $this->categories = new ArrayCollection(); }
protected function startup() { parent::startup(); $this->setName(Strings::random(20)); $this->route->setPublished(TRUE); }
protected function startup() { parent::startup(); $this->setName('Cart')->getRoute()->setPublished(TRUE); }
protected function startup() { parent::startup(); $this->children = new ArrayCollection(); }
protected function startup() { parent::startup(); $this->getRoute()->setLocalUrl('feed.xml')->setTitle('Feed')->setPublished(TRUE); }
protected function startup() { parent::startup(); $this->targetPages = new ArrayCollection(); }
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(); }