We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6745a49 commit a83c6e1Copy full SHA for a83c6e1
console.rst
@@ -376,6 +376,14 @@ console::
376
}
377
378
379
+If you are using a :doc:`single-command application </components/console/single_command_tool>`,
380
+call ``setAutoExit(false)`` on it to get the command result in ``CommandTester``.
381
+
382
+.. versionadded:: 5.2
383
384
+ The ``setAutoExit()`` method for single-command applications was introduced
385
+ in Symfony 5.2.
386
387
.. tip::
388
389
You can also test a whole console application by using
0 commit comments