예제 #1
0
 /**
  * Render virtual documentation into file.
  *
  * @param string $filename
  * @return bool
  */
 public function render($filename)
 {
     return $this->file->renderTo($filename, FilesInterface::RUNTIME, true);
 }
예제 #2
0
 /**
  * Render created declaration. Filename will be resolved automatically based on active namespace
  * and class name.
  *
  * @param int       $mode
  * @param bool|true $ensureDirectory
  * @return bool
  */
 public function render($mode = FilesInterface::READONLY, $ensureDirectory = true)
 {
     return $this->file->renderTo($this->getFilename(), $mode, $ensureDirectory);
 }