File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2767,8 +2767,11 @@ generating the route::
2767
2767
2768
2768
$this->generateUrl('blog_show', ['slug' => 'slug-value']);
2769
2769
2770
- // or, in Twig
2771
- // {{ path('blog_show', {slug: 'slug-value'}) }}
2770
+ or, in Twig:
2771
+
2772
+ .. code-block :: twig
2773
+
2774
+ {{ path('blog_show', {slug: 'slug-value'}) }}
2772
2775
2773
2776
Learn more about Routing
2774
2777
------------------------
Original file line number Diff line number Diff line change @@ -380,12 +380,12 @@ its location, same as for ``docker-compose``:
380
380
381
381
.. caution ::
382
382
383
- When using Symfony binary with ``php bin/console `` (``symfony console ... ``)
384
- the binay will **always ** use environment variables detected via Docker and will
383
+ When using the Symfony binary with ``php bin/console `` (``symfony console ... ``),
384
+ the binary will **always ** use environment variables detected via Docker and will
385
385
ignore local environment variables.
386
386
For example if you set up a different database name in your ``.env.test `` file
387
387
(``DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/test ``) and if you run
388
- ``symfony console doctrine:database:drop --force --env=test `` the command will drop the database
388
+ ``symfony console doctrine:database:drop --force --env=test ``, the command will drop the database
389
389
defined in your Docker configuration and not the "test" one.
390
390
391
391
SymfonyCloud Integration
You can’t perform that action at this time.
0 commit comments