public function edit($key)
 {
     $vHost = $this->virtualHosts->readvHost($key);
     $vHost = $vHost[0];
     return view('virtualhosts.edit', compact('vHost'));
 }
示例#2
0
 public function compose($view)
 {
     $view->with('virtualHosts', $this->virtualHosts->readHosts());
 }