Example #1
0
 public function disableChildrenLazyLoading()
 {
     if (is_object($this->children)) {
         $this->children->setInitialized(true);
     }
 }
Example #2
0
 /**
  * @param PageInterface $page
  * @return void
  */
 public function removeChild(PageInterface $page)
 {
     $this->children->removeElement($page);
 }