code: public function render(string $twigTemplate, array $block = array()) : string
      {   
          $template = $this->sfTwig->createTemplate($twigTemplate);
  
          return $template->render(
              array_merge(
                  $this->cmsContext->toArray(),
                  $block
              )
          );
      }
docs: cms_render('twig {{ code }}')
  cms_render('twig {{ code }}', { complement: 'more context var' })