コード例 #1
0
ファイル: Git.php プロジェクト: jairoFg12/phpdox
 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());
     }
 }
コード例 #2
0
ファイル: Git.php プロジェクト: beingsane/phpdox
 public function enrichEnd(PHPDoxEndEvent $event)
 {
     if ($this->cacheDirty) {
         $this->cacheDom->save($this->config->getLogfilePath());
     }
 }
コード例 #3
0
 /**
  * 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;
 }