How to get all the variables of a template
Created by: benjaminSe1
Hello Guys,
First of all, thank you for your incredible work here !
I am using this lib within an api and I want to implement a function which takes in argument the twig template and return the list of the variables needed to compile/render the twig.
I have been looking at the source code to find any way to achieve this, but so far I didn't find any solution. Did someone already implemented this kind of function ?
Thank you.
Edited by Eric MORAND