code: public function render($view = null, $selector = null)
      {
          $this->view($view);
          $this->selector($selector);
  
          return View::make($this->view, ['validator' => $this->getViewData()])
              ->render();
      }
docs: Render the specified view with validator data.
  
  @param null|\Illuminate\Contracts\View\View|string $view
  @param null|string $selector
  @return string