Devise\Pages\Docs\Creator::getDocView PHP Method

getDocView() protected method

Returns the doc view if there is one
protected getDocView ( string $viewPath ) : View
$viewPath string
return View
    protected function getDocView($viewPath)
    {
        $viewPath = str_replace('devise::', '', $viewPath);
        $viewPath = "devise::docs.{$viewPath}";
        try {
            return $this->View->make($viewPath);
        } catch (\Exception $e) {
        }
        return null;
    }