0

This is related to this: twig replaces non ascii characters with entities

None of the comments/answers have helped me. I also tried on #Symfony IRC without success.

So I believe my only option is to debug Twig, that is with XDebug and Netbeans I want to use the "Debug project" / "Step into" etc. commands.

But I have no idea where to put my first breakpoint, I can't find where all of this starts in Twig, what's the "main" function.

Community
  • 1
  • 1
konrad_firm
  • 859
  • 1
  • 11
  • 28
  • 1
    Twig gets called when your controller generates the response. Search for the methods "render", "renderView" and "stream" in your controllers. – hasumedic Feb 22 '16 at 12:38
  • I didn't think about it:) Thank you. If you add this as an answer I'll accept it. Thanks again. – konrad_firm Feb 22 '16 at 12:40

1 Answers1

1

Twig gets called when your controller generates the response. Search for the methods "render", "renderView" and "stream" in your controllers.

hasumedic
  • 2,139
  • 12
  • 17