Skip to content

Commit 413a9b5

Browse files
committed
Update PR
1 parent ad44c69 commit 413a9b5

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
This is a renderer for rendering PHP view scripts into a PSR-7 Response object. It works well with Slim Framework 3.
44

5+
## Templates
6+
You may use `$this` inside your php templates. `$this` will be the actual PhpRenderer object will allow you to render sub-templates
7+
58
## Usage With Slim 3
69

710
```php

tests/testTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
* Date: 2015-11-12
66
* Time: 1:20 PM
77
*/
8-
print $hello;
8+
print $hello;

0 commit comments

Comments
 (0)