Ejemplo n.º 1
0
 protected function startup()
 {
     parent::startup();
     $this->types = new ArrayCollection();
     $this->labels = new ArrayCollection();
     $this->getRoute()->setPublished(FALSE);
 }
Ejemplo n.º 2
0
 public function startup()
 {
     parent::startup();
     $this->boxes = new ArrayCollection();
     $this->events = new ArrayCollection();
     $this->blogs = new ArrayCollection();
     $this->created = new \DateTime();
 }
Ejemplo n.º 3
0
 protected function startup()
 {
     parent::startup();
     $name = Strings::random(20);
     $this->villages = new ArrayCollection();
     $this->getRoute()->setPublished(TRUE)->setName($name)->setTitle($name)->setLocalUrl(Strings::webalize($name));
 }
 /**
  * @param PageEntity $page
  * @param $name
  */
 protected function startup()
 {
     parent::startup();
     $this->items = new ArrayCollection();
 }
Ejemplo n.º 5
0
 protected function startup()
 {
     parent::startup();
     $this->date = new \DateTime();
 }