public function addChildren(EntryPoint $entryPoint) { $this->children[] = $entryPoint; $entryPoint->setParentInstance($this); }