code: private function persist()
      {
          $bootstrap = Bootstrap::getInstance();
          $config = $bootstrap->getConfiguration();
          $config['pages'] = array();
          foreach ($this->pages as $page) {
              $page->appendConfig($config['pages']);
          }
          $bootstrap->setConfiguration($config);
      }
docs: Persists page list in configuration file.