public function enrichEnd(PHPDoxEndEvent $event) { if ($this->cacheDirty) { $path = dirname($this->config->getLogfilePath()); if (!file_exists($path)) { mkdir($path, 0777, true); } $this->cacheDom->save($this->config->getLogfilePath()); } }
public function enrichEnd(PHPDoxEndEvent $event) { if ($this->cacheDirty) { $this->cacheDom->save($this->config->getLogfilePath()); } }
/** * Writes the merged result file. * * @param fDOMDocument $dom * @param string $filename * * @return bool */ private function writeFile(fDOMDocument $dom, $filename) { $dom->formatOutput = true; $result = $dom->save($filename); return $result !== false ? true : false; }