Elcodi\Store\CoreBundle\Controller\Traits\TemplateRenderTrait::renderTemplate PHP Метод

renderTemplate() защищенный Метод

Render a template with preloaded template
protected renderTemplate ( string $path, array $param = [] ) : Response
$path string Template path without bundle
$param array Params
Результат Symfony\Component\HttpFoundation\Response Response
    protected function renderTemplate($path, $param = [])
    {
        $template = $this->get('elcodi_store.template_locator.core')->locate($path);
        return $this->render($template, $param);
    }
TemplateRenderTrait