File tree 1 file changed +5
-0
lines changed
Filter options
1 file changed +5
-0
lines changed
Original file line number Diff line number Diff line change @@ -2217,14 +2217,17 @@ locale.
2217
2217
.. configuration-block ::
2218
2218
2219
2219
.. code-block :: yaml
2220
+
2220
2221
# config/routes/annotations.yaml
2221
2222
controllers :
2222
2223
resource : ' ../../src/Controller/'
2223
2224
type : annotation
2224
2225
host :
2225
2226
en : ' https://www.symfony.com'
2226
2227
nl : ' https://www.symfony.nl'
2228
+
2227
2229
.. code-block :: xml
2230
+
2228
2231
<!-- config/routes/annotations.xml -->
2229
2232
<?xml version =" 1.0" encoding =" UTF-8" ?>
2230
2233
<routes xmlns =" http://symfony.com/schema/routing"
@@ -2236,7 +2239,9 @@ locale.
2236
2239
<host locale =" nl" >https://www.symfony.nl</host >
2237
2240
</import >
2238
2241
</routes >
2242
+
2239
2243
.. code-block :: php
2244
+
2240
2245
// config/routes/annotations.php
2241
2246
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
2242
2247
return function (RoutingConfigurator $routes) {
You can’t perform that action at this time.
0 commit comments