We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 358b4c8 commit 1473eecCopy full SHA for 1473eec
book/part4.rst
@@ -224,13 +224,13 @@ impact. Want to know how to use the generator? Insanely easy::
224
225
$generator = new Routing\Generator\UrlGenerator($routes, $context);
226
227
- echo $generator->generate('hello', array('name' => 'Fabien));
+ echo $generator->generate('hello', array('name' => 'Fabien'));
228
// outputs /hello/Fabien
229
230
The code should be self-explanatory; and thanks to the context, you can even
231
generate absolute URLs::
232
233
- echo $generator->generate('hello', array('name' => 'Fabien), true);
+ echo $generator->generate('hello', array('name' => 'Fabien'), true);
234
// outputs something like http://example.com/somewhere/hello/Fabien
235
236
.. tip::
0 commit comments