Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Twig] made a small optimization to avoid problems with XDebug when r…
…endering forms with deep nested collections
- Loading branch information
634131b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I understand correctly that this is meant to remove one method call from the stack, but not more?
634131b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bschussek the form extension is called recursively when rendering a form as it is a tree structure. So it removes one method per call to the rendering function (which is called many times when rendering a formà