protected function renderTo($dest, $view, array $data = []) { $this->fs->put(path_join(config('codex.paths.docs'), $this->name, $dest), $this->render($view, $data)); }
/** * @param int $options * * @return static */ public function save($options = JSON_UNESCAPED_SLASHES) { $manifest = json_encode($this->items, $options); $this->fs->put($this->getManifestPath(), $manifest); return $this; }