From a76506c3fd164d44774b56ac88d964361dad48f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20H=C3=B6rnicke?= Date: Thu, 24 Jul 2014 09:38:08 +0200 Subject: [PATCH] amended documentation --- docs/en/reference/tools.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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(); +