public function getPageTree()
    {
        if (!$this->pageTree) {
            $configuration = ConfigurationManager::getConfiguration();
            $dataPath = $configuration->get('basePath') . $configuration->get('dataPath');
            $this->pageTree = $this->getPagesForPath($dataPath);
        }

        return $this->pageTree;
    }