File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments