Jarves\PluginController::renderPluginView PHP Method

renderPluginView() protected method

If you use the regular render method, its Symfony response will be passed through the HttpKernel and will be displayed without the PageResponse.
protected renderPluginView ( string $view, array $parameters = [] ) : string
$view string The view name
$parameters array An array of parameters to pass to the view
return string will be transformed into a PluginResponse automatically by Jarves
    protected function renderPluginView($view, array $parameters = array())
    {
        /** @var EngineInterface $templating */
        $templating = $this->get('templating');
        return $templating->render($view, $parameters);
    }