We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e9f99 commit ed3edfdCopy full SHA for ed3edfd
README.md
@@ -28,6 +28,12 @@ $blade = new Blade('views', 'cache');
28
echo $blade->make('homepage', ['name' => 'John Doe'])->render();
29
```
30
31
+Alternatively you can use the shorthand method `render`:
32
+
33
+```php
34
+echo $blade->render('homepage', ['name' => 'John Doe']);
35
+```
36
37
You can also extend Blade using the `directive()` function:
38
39
```php
0 commit comments