@@ -328,7 +328,7 @@ arbitrary matching logic:
328
328
* condition="context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'"
329
329
* )
330
330
*
331
- * expressions can also include config parameters:
331
+ * expressions can also include configuration parameters:
332
332
* condition: "request.headers.get('User-Agent') matches '%app.allowed_browsers%'"
333
333
*/
334
334
public function contact(): Response
@@ -367,7 +367,7 @@ arbitrary matching logic:
367
367
path : /contact
368
368
controller : ' App\Controller\DefaultController::contact'
369
369
condition : " context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'"
370
- # expressions can also include config parameters:
370
+ # expressions can also include configuration parameters:
371
371
# condition: "request.headers.get('User-Agent') matches '%app.allowed_browsers%'"
372
372
373
373
.. code-block :: xml
@@ -381,7 +381,7 @@ arbitrary matching logic:
381
381
382
382
<route id =" contact" path =" /contact" controller =" App\Controller\DefaultController::contact" >
383
383
<condition >context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'</condition >
384
- <!-- expressions can also include config parameters: -->
384
+ <!-- expressions can also include configuration parameters: -->
385
385
<!-- <condition>request.headers.get('User-Agent') matches '%app.allowed_browsers%'</condition> -->
386
386
</route >
387
387
</routes >
@@ -396,7 +396,7 @@ arbitrary matching logic:
396
396
$routes->add('contact', '/contact')
397
397
->controller([DefaultController::class, 'contact'])
398
398
->condition('context.getMethod() in ["GET", "HEAD"] and request.headers.get("User-Agent") matches "/firefox/i"')
399
- // expressions can also include config parameters:
399
+ // expressions can also include configuration parameters:
400
400
// 'request.headers.get("User-Agent") matches "%app.allowed_browsers%"'
401
401
;
402
402
};
@@ -702,7 +702,7 @@ URL Route Parameters
702
702
.. tip ::
703
703
704
704
Route requirements (and route paths too) can include
705
- :ref: `container parameters <configuration-parameters >`, which is useful to
705
+ :ref: `configuration parameters <configuration-parameters >`, which is useful to
706
706
define complex regular expressions once and reuse them in multiple routes.
707
707
708
708
.. tip ::
@@ -2047,7 +2047,7 @@ these routes.
2047
2047
[],
2048
2048
[],
2049
2049
['HTTP_HOST' => 'm.example.com']
2050
- // or get the value from some container parameter:
2050
+ // or get the value from some configuration parameter:
2051
2051
// ['HTTP_HOST' => 'm.' . $client->getContainer()->getParameter('domain')]
2052
2052
);
2053
2053
0 commit comments