public function edit($key) { $vHost = $this->virtualHosts->readvHost($key); $vHost = $vHost[0]; return view('virtualhosts.edit', compact('vHost')); }