/** * @return string */ public function getFullId() { if (is_null($this->parent)) { return $this->id; } return $this->parent->getFullId() . '/' . $this->getId(); }