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 @@ -2376,8 +2376,11 @@ generating the route::
23762376
23772377 $this->generateUrl('blog_show', ['slug' => 'slug-value']);
23782378
2379- // or, in Twig
2380- // {{ path('blog_show', {slug: 'slug-value'}) }}
2379+ or, in Twig:
2380+
2381+ .. code-block :: twig
2382+
2383+ {{ path('blog_show', {slug: 'slug-value'}) }}
23812384
23822385 Learn more about Routing
23832386------------------------
Original file line number Diff line number Diff line change @@ -380,12 +380,12 @@ its location, same as for ``docker-compose``:
380380
381381.. caution ::
382382
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
385385 ignore local environment variables.
386386 For example if you set up a different database name in your ``.env.test `` file
387387 (``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
389389 defined in your Docker configuration and not the "test" one.
390390
391391SymfonyCloud Integration
You can’t perform that action at this time.
0 commit comments