PHP Trait Elcodi\Store\CoreBundle\Controller\Traits\TemplateRenderTrait

Show file Open project: elcodi/bamboo

Protected Methods

Method Description
renderTemplate ( string $path, array $param = [] ) : Response Render a template with preloaded template

Method Details

renderTemplate() protected method

Render a template with preloaded template
protected renderTemplate ( string $path, array $param = [] ) : Response
$path string Template path without bundle
$param array Params
return Symfony\Component\HttpFoundation\Response Response