I am using multiple viewsDirs and I need to confirm, that actual template targeting in Phalcon works as intended.
I have 2 view dirs:
I would expect, as in other frameworks, that if I have template block/footer.volt under both directories, it will check for first existing template under views dirs and render it.
But current implementation in Phalcon works much different, it checks every time all directories and renders all templates found. So the most priority directory is the last one and not the first one.
This is causing some performance overhead and it is causing problem when you want to render some partial, because it is rendered multiple times.
This for loop is causing the unexpected behavior
Is this functionality intended?