@@ -269,7 +269,7 @@ arbitrary matching logic:
269
269
* condition="context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'"
270
270
* )
271
271
*
272
- * expressions can also include config parameters:
272
+ * expressions can also include configuration parameters:
273
273
* condition: "request.headers.get('User-Agent') matches '%app.allowed_browsers%'"
274
274
*/
275
275
public function contact(): Response
@@ -285,7 +285,7 @@ arbitrary matching logic:
285
285
path : /contact
286
286
controller : ' App\Controller\DefaultController::contact'
287
287
condition : " context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'"
288
- # expressions can also include config parameters:
288
+ # expressions can also include configuration parameters:
289
289
# condition: "request.headers.get('User-Agent') matches '%app.allowed_browsers%'"
290
290
291
291
.. code-block :: xml
@@ -299,7 +299,7 @@ arbitrary matching logic:
299
299
300
300
<route id =" contact" path =" /contact" controller =" App\Controller\DefaultController::contact" >
301
301
<condition >context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'</condition >
302
- <!-- expressions can also include config parameters: -->
302
+ <!-- expressions can also include configuration parameters: -->
303
303
<!-- <condition>request.headers.get('User-Agent') matches '%app.allowed_browsers%'</condition> -->
304
304
</route >
305
305
</routes >
@@ -314,7 +314,7 @@ arbitrary matching logic:
314
314
$routes->add('contact', '/contact')
315
315
->controller([DefaultController::class, 'contact'])
316
316
->condition('context.getMethod() in ["GET", "HEAD"] and request.headers.get("User-Agent") matches "/firefox/i"')
317
- // expressions can also include config parameters:
317
+ // expressions can also include configuration parameters:
318
318
// 'request.headers.get("User-Agent") matches "%app.allowed_browsers%"'
319
319
;
320
320
};
@@ -575,7 +575,7 @@ URL Route Parameters
575
575
.. tip ::
576
576
577
577
Route requirements (and route paths too) can include
578
- :ref: `container parameters <configuration-parameters >`, which is useful to
578
+ :ref: `configuration parameters <configuration-parameters >`, which is useful to
579
579
define complex regular expressions once and reuse them in multiple routes.
580
580
581
581
.. tip ::
@@ -1681,7 +1681,7 @@ these routes.
1681
1681
[],
1682
1682
[],
1683
1683
['HTTP_HOST' => 'm.example.com']
1684
- // or get the value from some container parameter:
1684
+ // or get the value from some configuration parameter:
1685
1685
// ['HTTP_HOST' => 'm.' . $client->getContainer()->getParameter('domain')]
1686
1686
);
1687
1687
0 commit comments