Skip to content

Commit 5dbf7dc

Browse files
committed
minor #9319 fix console script path (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- fix console script path Commits ------- a2dbf2b fix console script path
2 parents ca11ad3 + a2dbf2b commit 5dbf7dc

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

configuration/multiple_kernels.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ config files or better, import them and override the needed options:
143143
Executing Commands with a Different Kernel
144144
------------------------------------------
145145

146-
The ``app/console`` script used to run Symfony commands always uses the default
146+
The ``bin/console`` script used to run Symfony commands always uses the default
147147
``AppKernel`` class to build the application and load the commands. If you need
148-
to execute console commands using the new kernel, duplicate the ``app/console``
148+
to execute console commands using the new kernel, duplicate the ``bin/console``
149149
script and rename it (e.g. ``bin/api``).
150150

151151
Then, replace the ``AppKernel`` instantiation by your own kernel instantiation
@@ -155,7 +155,7 @@ new kernel.
155155

156156
.. note::
157157

158-
The commands available for each console script (e.g. ``app/console`` and
158+
The commands available for each console script (e.g. ``bin/console`` and
159159
``bin/api``) can differ because they depend on the bundles enabled for each
160160
kernel, which could be different.
161161

reference/configuration/framework.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ configured under the ``framework`` key in your application configuration.
1313
.. code-block:: terminal
1414
1515
# displays the default config values defined by Symfony
16-
$ php app/console config:dump framework
16+
$ php bin/console config:dump framework
1717
1818
# displays the actual config values used by your application
19-
$ php app/console debug:config framework
19+
$ php bin/console debug:config framework
2020
2121
.. note::
2222

reference/events.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ their priorities:
4343

4444
.. code-block:: terminal
4545
46-
$ php app/console debug:event-dispatcher kernel.request
46+
$ php bin/console debug:event-dispatcher kernel.request
4747
4848
``kernel.controller``
4949
~~~~~~~~~~~~~~~~~~~~~
@@ -74,7 +74,7 @@ their priorities:
7474

7575
.. code-block:: terminal
7676
77-
$ php app/console debug:event-dispatcher kernel.controller
77+
$ php bin/console debug:event-dispatcher kernel.controller
7878
7979
``kernel.view``
8080
~~~~~~~~~~~~~~~
@@ -108,7 +108,7 @@ their priorities:
108108

109109
.. code-block:: terminal
110110
111-
$ php app/console debug:event-dispatcher kernel.view
111+
$ php bin/console debug:event-dispatcher kernel.view
112112
113113
``kernel.response``
114114
~~~~~~~~~~~~~~~~~~~
@@ -135,7 +135,7 @@ their priorities:
135135

136136
.. code-block:: terminal
137137
138-
$ php app/console debug:event-dispatcher kernel.response
138+
$ php bin/console debug:event-dispatcher kernel.response
139139
140140
``kernel.finish_request``
141141
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -162,7 +162,7 @@ their priorities:
162162

163163
.. code-block:: terminal
164164
165-
$ php app/console debug:event-dispatcher kernel.finish_request
165+
$ php bin/console debug:event-dispatcher kernel.finish_request
166166
167167
``kernel.terminate``
168168
~~~~~~~~~~~~~~~~~~~~
@@ -183,7 +183,7 @@ their priorities:
183183

184184
.. code-block:: terminal
185185
186-
$ php app/console debug:event-dispatcher kernel.terminate
186+
$ php bin/console debug:event-dispatcher kernel.terminate
187187
188188
.. _kernel-kernel.exception:
189189

@@ -256,6 +256,6 @@ their priorities:
256256

257257
.. code-block:: terminal
258258
259-
$ php app/console debug:event-dispatcher kernel.exception
259+
$ php bin/console debug:event-dispatcher kernel.exception
260260
261261
.. _`param converters`: https://symfony.com/doc/master/bundles/SensioFrameworkExtraBundle/annotations/converters.html

0 commit comments

Comments
 (0)