public function convertPagesToHtml() { foreach ($this->PageCollection as $key => $Page) { $this->PageCollection[$key]->setConfiguration(new \Gumdrop\PageConfiguration()); $this->PageCollection[$key]->convertMarkdownToHtml(); } $this->app->setPageCollection($this->PageCollection); }