public function setPageCollection($PageCollection) { $this->PageCollection = $PageCollection; }
public function writeHtmlFiles() { $this->app->getFileHandler()->clearDestinationLocation(); foreach ($this->PageCollection as $key => $Page) { $this->PageCollection[$key]->writeHtmlFile($this->app->getDestinationLocation()); } $this->app->setPageCollection($this->PageCollection); }