We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad44c69 commit 413a9b5Copy full SHA for 413a9b5
2 files changed
README.md
@@ -2,6 +2,9 @@
2
3
This is a renderer for rendering PHP view scripts into a PSR-7 Response object. It works well with Slim Framework 3.
4
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
+
8
## Usage With Slim 3
9
10
```php
tests/testTemplate.php
@@ -5,4 +5,4 @@
* Date: 2015-11-12
* Time: 1:20 PM
*/
-print $hello;
+print $hello;
0 commit comments