private function createFile($html, $site) { $fileName = 'cache/pages/' . $site->getId() . '/' . $this->page->getId() . '_' . $this->page->currentRevision()->getId() . '.php'; $fm = new FileMaker(); return $fm->makeFile($fileName, $html); }
private function createFile($fileName, $content) { $fm = new FileMaker(); return $fm->makeFile($fileName, $content); }