Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Order of Processing Files

Started by David Douglass 3 years ago · 0 replies · 258 views
3 years ago

Is there some way to know the order that twig files are processed and which ones they are and where the processing starts?

I have a programming background and I'm used to being able to use a debugger and step through or over lines of code. I could see exactly on what line and in what file I would be able to add or fix code. Is there something similar in the world of PHP and Twig that you can set a break point and "walk" through the lines of code, line by line, to be able to see what it's doing?

It's a great way to learn how it all works. I'm from the .Net side of things and all the syntax, naming conventions and so on is all really new to me. But the basic concepts are all very similar. This is being a real hands-on experience for me. I've been reading the Grav documentation and SymfonyHub in an effort to get a handle on it -- any suggestions are welcome. Thanks!

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 80 9 hours ago
General · by pamtbaau, 14 hours ago
1 51 13 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago