File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -224,13 +224,13 @@ impact. Want to know how to use the generator? Insanely easy::
224
224
225
225
$generator = new Routing\Generator\UrlGenerator($routes, $context);
226
226
227
- echo $generator->generate('hello', array('name' => 'Fabien));
227
+ echo $generator->generate('hello', array('name' => 'Fabien' ));
228
228
// outputs /hello/Fabien
229
229
230
230
The code should be self-explanatory; and thanks to the context, you can even
231
231
generate absolute URLs::
232
232
233
- echo $generator->generate('hello', array('name' => 'Fabien), true);
233
+ echo $generator->generate('hello', array('name' => 'Fabien' ), true);
234
234
// outputs something like http://example.com/somewhere/hello/Fabien
235
235
236
236
.. tip ::
You can’t perform that action at this time.
0 commit comments