diff --git a/docs/en/reference/tools.rst b/docs/en/reference/tools.rst index a5f99d141..eb93831b9 100644 --- a/docs/en/reference/tools.rst +++ b/docs/en/reference/tools.rst @@ -507,3 +507,22 @@ defined ones) is possible through the command: new \MyProject\Tools\Console\Commands\AnotherCommand(), new \MyProject\Tools\Console\Commands\OneMoreCommand(), )); + + +Re-use console application +-------------------------- + +You are also able to retrieve and re-use the default console application. +Just call ``ConsoleRunner::createApplication(...)`` with an appropriate +HelperSet, like it is described in the configuration section. + +.. code-block:: php + + run(); +