/**
  * Set the content for the reponse.
  *
  * @return \Illuminate\View\View
  */
 public function setContent($view, $data = [])
 {
     if (!is_null($this->layout)) {
         return $this->layout->nest('content', $view, $data);
     }
     return view($view, $data);
 }