src/Javascript/JavascriptValidator.php
public function render($view = null, $selector = null)
    {
        $this->view($view);
        $this->selector($selector);

        return View::make($this->view, ['validator' => $this->getViewData()])
            ->render();
    }
public function render($view = null, $selector = null)
    {
        $this->view($view);
        $this->selector($selector);

        return View::make($this->view, ['validator' => $this->getViewData()])
            ->render();
    }
Render the specified view with validator data.

@param null|\Illuminate\Contracts\View\View|string $view
@param null|string $selector
@return string