public function getNameWithLevel() { return str_repeat(' ', $this->getLevel() - 1) . $this->getName(); }