public function add(Window $child) { $this->childs[] = $child; $child->setParent($this->getWindow()); $this->setChanged(true); }