Skip to content

fix console script path #9319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions configuration/multiple_kernels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ config files or better, import them and override the needed options:
Executing Commands with a Different Kernel
------------------------------------------

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

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

.. note::

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

Expand Down
4 changes: 2 additions & 2 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ configured under the ``framework`` key in your application configuration.
.. code-block:: terminal

# displays the default config values defined by Symfony
$ php app/console config:dump framework
$ php bin/console config:dump framework

# displays the actual config values used by your application
$ php app/console debug:config framework
$ php bin/console debug:config framework

.. note::

Expand Down
14 changes: 7 additions & 7 deletions reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ their priorities:

.. code-block:: terminal

$ php app/console debug:event-dispatcher kernel.request
$ php bin/console debug:event-dispatcher kernel.request

``kernel.controller``
~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -74,7 +74,7 @@ their priorities:

.. code-block:: terminal

$ php app/console debug:event-dispatcher kernel.controller
$ php bin/console debug:event-dispatcher kernel.controller

``kernel.view``
~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -108,7 +108,7 @@ their priorities:

.. code-block:: terminal

$ php app/console debug:event-dispatcher kernel.view
$ php bin/console debug:event-dispatcher kernel.view

``kernel.response``
~~~~~~~~~~~~~~~~~~~
Expand All @@ -135,7 +135,7 @@ their priorities:

.. code-block:: terminal

$ php app/console debug:event-dispatcher kernel.response
$ php bin/console debug:event-dispatcher kernel.response

``kernel.finish_request``
~~~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -162,7 +162,7 @@ their priorities:

.. code-block:: terminal

$ php app/console debug:event-dispatcher kernel.finish_request
$ php bin/console debug:event-dispatcher kernel.finish_request

``kernel.terminate``
~~~~~~~~~~~~~~~~~~~~
Expand All @@ -183,7 +183,7 @@ their priorities:

.. code-block:: terminal

$ php app/console debug:event-dispatcher kernel.terminate
$ php bin/console debug:event-dispatcher kernel.terminate

.. _kernel-kernel.exception:

Expand Down Expand Up @@ -256,6 +256,6 @@ their priorities:

.. code-block:: terminal

$ php app/console debug:event-dispatcher kernel.exception
$ php bin/console debug:event-dispatcher kernel.exception

.. _`param converters`: https://symfony.com/doc/master/bundles/SensioFrameworkExtraBundle/annotations/converters.html