Skip to content

Commit 271d528

Browse files
author
=
committed
Merge branch 'develop'
2 parents 46cda6d + 5207a38 commit 271d528

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Views/README.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ library. You can use the Twig custom view in your Slim Framework application lik
1414
'view' => new \Slim\Extras\Views\Twig()
1515
));
1616

17-
You will need to configure the Twig view's public `$twigOptions` and `$twigDirectory` properties. The `$twigDirectory`
18-
property is the relative or absolute path to the Twig library. The `$twigOptions` property is an array of Twig settings.
17+
If you are not using Composer to autoload project dependencies, you must also set the Twig view's public static
18+
`$twigDirectory` property; this is the relative or absolute path to the directory that conatins the Twig library.
19+
20+
You may also set the public static `$twigOptions` property; this is an array of settings that customize the Twig
21+
library behavior.
1922

2023
## Mustache
2124

0 commit comments

Comments
 (0)