File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1134,10 +1134,10 @@ Generating URLs
1134
1134
---------------
1135
1135
1136
1136
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
1138
1138
a route+parameters back to a URL. The
1139
1139
: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
1141
1141
system. Take the ``blog_show `` example route from earlier::
1142
1142
1143
1143
$params = $this->get('router')->match('/blog/my-blog-post');
@@ -1272,7 +1272,7 @@ Summary
1272
1272
Routing is a system for mapping the URL of incoming requests to the controller
1273
1273
function that should be called to process the request. It both allows you
1274
1274
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
1276
1276
should also be used to generate URLs.
1277
1277
1278
1278
Learn more from the Cookbook
You can’t perform that action at this time.
0 commit comments