public function hasChildren() { if ($this->hasChilds !== null) { return $this->hasChilds; } return $this->getDao()->hasChilds(); }