id; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setParent(Category $parent = null) { $this->parent = $parent; } public function getParent() { return $this->parent; } public function addClosure(CategoryClosure $closure) { $this->closures[] = $closure; } public function setLevel($level) { $this->level = $level; } public function getLevel() { return $this->level; } public function setFullName($fullName) { $this->fullName = $fullName; } public function getFullName() { return $this->fullName; } }