Skip to content

Commit da8b46f

Browse files
committed
[book] [routing] used the American term "bidirectional"
instead of the British bi-directional
1 parent 9f26da8 commit da8b46f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/routing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,10 +1134,10 @@ Generating URLs
11341134
---------------
11351135

11361136
The routing system should also be used to generate URLs. In reality, routing
1137-
is a bi-directional system: mapping the URL to a controller+parameters and
1137+
is a bidirectional system: mapping the URL to a controller+parameters and
11381138
a route+parameters back to a URL. The
11391139
:method:`Symfony\\Component\\Routing\\Router::match` and
1140-
:method:`Symfony\\Component\\Routing\\Router::generate` methods form this bi-directional
1140+
:method:`Symfony\\Component\\Routing\\Router::generate` methods form this bidirectional
11411141
system. Take the ``blog_show`` example route from earlier::
11421142

11431143
$params = $this->get('router')->match('/blog/my-blog-post');
@@ -1272,7 +1272,7 @@ Summary
12721272
Routing is a system for mapping the URL of incoming requests to the controller
12731273
function that should be called to process the request. It both allows you
12741274
to specify beautiful URLs and keeps the functionality of your application
1275-
decoupled from those URLs. Routing is a two-way mechanism, meaning that it
1275+
decoupled from those URLs. Routing is a bidirectional mechanism, meaning that it
12761276
should also be used to generate URLs.
12771277

12781278
Learn more from the Cookbook

0 commit comments

Comments
 (0)