Exemplo n.º 1
0
 public function index()
 {
     $virtualHosts = $this->virtualHosts->readHosts();
     $projects = $this->virtualHosts->getProjects();
     return view('virtualhosts.index', compact('virtualHosts', 'projects'));
 }
Exemplo n.º 2
0
 public function compose($view)
 {
     $view->with('virtualHosts', $this->virtualHosts->readHosts());
 }