public function getIndexPage() { $index_key = $this->getConfig()['index_key']; if (isset($this->children[$index_key])) { return $this->children[$index_key]; } if ($this->getConfig()->shouldInheritIndex() && ($first_page = $this->seekFirstPage())) { return $first_page; } return null; }