Exemplo n.º 1
0
 protected function renderTo($dest, $view, array $data = [])
 {
     $this->fs->put(path_join(config('codex.paths.docs'), $this->name, $dest), $this->render($view, $data));
 }
Exemplo n.º 2
0
 /**
  * @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;
 }