diff --git a/configuration/multiple_kernels.rst b/configuration/multiple_kernels.rst index 9352913d866..20de4cc288c 100644 --- a/configuration/multiple_kernels.rst +++ b/configuration/multiple_kernels.rst @@ -143,9 +143,9 @@ config files or better, import them and override the needed options: Executing Commands with a Different Kernel ------------------------------------------ -The ``bin/console`` script used to run Symfony commands always uses the default +The ``app/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 ``bin/console`` +to execute console commands using the new kernel, duplicate the ``app/console`` script and rename it (e.g. ``bin/api``). Then, replace the ``AppKernel`` instantiation by your own kernel instantiation @@ -155,7 +155,7 @@ new kernel. .. note:: - The commands available for each console script (e.g. ``bin/console`` and + The commands available for each console script (e.g. ``app/console`` and ``bin/api``) can differ because they depend on the bundles enabled for each kernel, which could be different. diff --git a/reference/events.rst b/reference/events.rst index e4477abbe46..f81fcdee0f3 100644 --- a/reference/events.rst +++ b/reference/events.rst @@ -43,7 +43,7 @@ their priorities: .. code-block:: terminal - $ php bin/console debug:event-dispatcher kernel.request + $ php app/console debug:event-dispatcher kernel.request ``kernel.controller`` ~~~~~~~~~~~~~~~~~~~~~ @@ -74,7 +74,7 @@ their priorities: .. code-block:: terminal - $ php bin/console debug:event-dispatcher kernel.controller + $ php app/console debug:event-dispatcher kernel.controller ``kernel.view`` ~~~~~~~~~~~~~~~ @@ -108,7 +108,7 @@ their priorities: .. code-block:: terminal - $ php bin/console debug:event-dispatcher kernel.view + $ php app/console debug:event-dispatcher kernel.view ``kernel.response`` ~~~~~~~~~~~~~~~~~~~ @@ -135,7 +135,7 @@ their priorities: .. code-block:: terminal - $ php bin/console debug:event-dispatcher kernel.response + $ php app/console debug:event-dispatcher kernel.response ``kernel.finish_request`` ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -162,7 +162,7 @@ their priorities: .. code-block:: terminal - $ php bin/console debug:event-dispatcher kernel.finish_request + $ php app/console debug:event-dispatcher kernel.finish_request ``kernel.terminate`` ~~~~~~~~~~~~~~~~~~~~ @@ -183,7 +183,7 @@ their priorities: .. code-block:: terminal - $ php bin/console debug:event-dispatcher kernel.terminate + $ php app/console debug:event-dispatcher kernel.terminate .. _kernel-kernel.exception: @@ -243,6 +243,6 @@ their priorities: .. code-block:: terminal - $ php bin/console debug:event-dispatcher kernel.exception + $ php app/console debug:event-dispatcher kernel.exception .. _`param converters`: https://symfony.com/doc/master/bundles/SensioFrameworkExtraBundle/annotations/converters.html diff --git a/translation/lint.rst b/translation/lint.rst index af1cbdf3fb9..a586429ea4a 100644 --- a/translation/lint.rst +++ b/translation/lint.rst @@ -15,17 +15,17 @@ using the ``lint:yaml`` command: .. code-block:: terminal # lint a single file - $ ./bin/console lint:yaml app/Resources/translations/messages.en.yml + $ ./app/console lint:yaml app/Resources/translations/messages.en.yml # lint a whole directory - $ ./bin/console lint:yaml app/Resources/translations + $ ./app/console lint:yaml app/Resources/translations # lint a specific bundle - $ ./bin/console lint:yaml @AppBundle + $ ./app/console lint:yaml @AppBundle The linter results can be exported to JSON using the ``--format`` option: .. code-block:: terminal # lint a single file - $ ./bin/console lint:yaml app/Resources/translations --format=json + $ ./app/console lint:yaml app/Resources/translations --format=json