protected function renderStringTemplate($template, $parameters = array())
    {
        $template = $this->environment->createTemplate($template);

        return $template->render($parameters);
    }