Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1473eec

Browse files
committed
fixed typo
1 parent358b4c8 commit1473eec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎book/part4.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@ impact. Want to know how to use the generator? Insanely easy::
224224

225225
$generator = new Routing\Generator\UrlGenerator($routes, $context);
226226

227-
echo $generator->generate('hello', array('name' => 'Fabien));
227+
echo $generator->generate('hello', array('name' => 'Fabien'));
228228
// outputs /hello/Fabien
229229

230230
The code should be self-explanatory; and thanks to the context, you can even
231231
generate absolute URLs::
232232

233-
echo $generator->generate('hello', array('name' => 'Fabien), true);
233+
echo $generator->generate('hello', array('name' => 'Fabien'), true);
234234
// outputs something like http://example.com/somewhere/hello/Fabien
235235

236236
..tip::

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp