Skip to content

Commit

Permalink
release 5.1: reflection of childs
Browse files Browse the repository at this point in the history
  • Loading branch information
rafageist committed Jul 23, 2019
1 parent e5f06a1 commit c75fda3
Show file tree
Hide file tree
Showing 4 changed files with 1,067 additions and 1,160 deletions.
38 changes: 37 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,42 @@
Jul 22, 2019
--------------------------
- `release` version 5.1.0
- `improvement`: 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
<?php

use divengine\div;

class Page extends div {

}
```

**/index.php**
```php
<?php

include '/some/folder/in/the/end/of/the/world/Page.php';

echo new Page();
```

**Output**
```
Hello people
```

Jul 6, 2019
--------------------------
- bugfix in div::scanMatch
- `bugfix` in div::scanMatch

Jul 3, 2019
--------------------------
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Div PHP Template Engine 5.0.1
# Div PHP Template Engine 5.1.0

[![Build Status](http://divengine.com/status.png)](https://github.com/divengine/div)
[![License](http://divengine.com/license.png)](https://www.gnu.org/licenses/gpl-3.0.txt)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"code generator"
],
"homepage": "https://divengine.com",
"version": "5.0.1",
"version": "5.1.0",
"authors": [
{
"name": "Rafa Rodriguez",
Expand Down
Loading

0 comments on commit c75fda3

Please sign in to comment.