Fix doc comment on inline loader.

This commit is contained in:
Justin Hileman
2013-05-15 13:36:46 -07:00
parent 0564df9651
commit 4112bcc3f7
+3 -1
View File
@@ -35,11 +35,13 @@
* 'mustache.loader' => new Mustache_Loader_InlineLoader(__FILE__, __COMPILER_HALT_OFFSET__)
* ));
*
* $app->get('/{name}', function() use ($app) {
* $app->get('/{name}', function($name) use ($app) {
* return $app['mustache']->render('hello', compact('name'));
* })
* ->value('name', 'world');
*
* // ...
*
* __halt_compiler();
*
* @@ hello