children = new ArrayCollection(); } public function getSlug() { return $this->slug; } public function getId() { return $this->id; } public function setTitle($title) { $this->title = $title; } public function getTitle() { return $this->title; } public function setDescription($description) { $this->description = strip_tags($description); } public function getDescription() { return $this->description; } public function setParent($parent) { $this->parent = $parent; } public function getParent() { return $this->parent; } public function getRoot() { return $this->root; } public function getLevel() { return $this->level; } public function getChildren() { return $this->children; } public function getLeft() { return $this->lft; } public function getRight() { return $this->rgt; } public function getCreated() { return $this->created; } public function getUpdated() { return $this->updated; } public function setTranslatableLocale($locale) { $this->locale = $locale; } public function __toString() { return $this->getTitle(); } }