code: public function view($view)
      {
          $this->view = is_null($view) ? $this->view : $view;
  
          return $this;
      }
docs: Set the view to render Javascript Validations.
  
  @param null|\Illuminate\Contracts\View\View|string $view
  @return \Proengsoft\JsValidation\Javascript\JavascriptValidator