Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 10, 2012
2 parents 46cda6d + 5207a38 commit 271d528
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Views/README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ library. You can use the Twig custom view in your Slim Framework application lik
'view' => new \Slim\Extras\Views\Twig()
));

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

You may also set the public static `$twigOptions` property; this is an array of settings that customize the Twig
library behavior.

## Mustache

Expand Down

0 comments on commit 271d528

Please sign in to comment.