public function createTwigEnvironmentBuilder()
    {
        $this->ensureCsrfTokenManagerAndTranslatorExist();
        $builder = new TwigEnvironmentBuilder();
        return $builder->setCsrfTokenManager($this->csrf_token_manager)->setTranslator($this->translator);
    }
public function createTwigEnvironmentBuilder()
    {
        $this->ensureCsrfTokenManagerAndTranslatorExist();
        $builder = new TwigEnvironmentBuilder();
        return $builder->setCsrfTokenManager($this->csrf_token_manager)->setTranslator($this->translator);
    }
public function createTwigEnvironmentBuilder ( ) { $ this -> ensureCsrfTokenManagerAndTranslatorExist ( ) ; $ builder = new TwigEnvironmentBuilder ( ) ; return $ builder -> setCsrfTokenManager ( $ this -> csrf_token_manager ) -> setTranslator ( $ this -> translator ) ; }
Creates a builder you can use to get the Twig_Environment
@return \Hostnet\FormTwigBridge\\Hostnet\FormTwigBridge\TwigEnvironmentBuilder
Creates a builder you can use to get the Twig_Environment