/** * Render a template * * @param string $template The template to render * @param array $params The params to pass to the renderer * @param array $options Extra options * @return string */ protected function render($template, array $params = array(), array $options = array()) { return parent::render($template, $params, $options); }
/** * Render a template * * @param string $template The template to render * @param array $params The params to pass to the renderer * @param array $options Extra options * @return string */ protected function render($template, array $params = array(), array $options = array()) { $options['helpers'][] = $this->getService('user.security.templating.helper'); return parent::render($template, $params, $options); }