/** * Render virtual documentation into file. * * @param string $filename * @return bool */ public function render($filename) { return $this->file->renderTo($filename, FilesInterface::RUNTIME, true); }
/** * 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); }