Skip to content

Add getBlockSource to BlockChain (Debug/Profiling) - #5053

Open
WedgeSama wants to merge 1 commit into
twigphp:3.xfrom
WedgeSama:profiling-get-block-source
Open

WedgeSama wants to merge 1 commit into
twigphp:3.xfrom
WedgeSama:profiling-get-block-source

Conversation

@WedgeSama

Copy link
Copy Markdown

Add getBlockSource to BlockChain to help profiler/debugger to get info on a block declaration.

This will allow to get real info from the twig engine about a block in Twig. The first use case is for the Symfony's profiler, see this PR: symfony/symfony#67014

See specially the comment from @nicolas-grekas symfony/symfony#67014 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant