public function disableChildrenLazyLoading() { if ($this->children instanceof Proxy) { $this->children->setInitialized(true); } }