Div PHP Template Engine 5.1.0
Reflection of my childs
Better resolution of default template for child classes of div, using Reflection!
/some/folder/in/the/end/of/the/world/Page.tpl
Hello people
/some/folder/in/the/end/of/the/world/Page.php
<?php
use divengine\div;
class Page extends div {
}
/index.php
<?php
include '/some/folder/in/the/end/of/the/world/Page.php';
echo new Page();
Output
Hello people