8000 [Console] added some missing information in the phpdoc (closes #6464) · symfony/symfony@e3086cc · GitHub
[go: up one dir, main page]

Skip to content

Commit e3086cc

Browse files
committed
[Console] added some missing information in the phpdoc (closes #6464)
1 parent 3196dbd commit e3086cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/Console/Tester/ApplicationTester.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
/**
2121
* Eases the testing of console applications.
2222
*
23+
* When testing an application, don't forget to disable the auto exit flag:
24+
*
25+
* $application = new Application();
26+
* $application->setAutoExit(false);
27+
*
2328
* @author Fabien Potencier <fabien@symfony.com>
2429
*/
2530
class ApplicationTester

0 commit comments

Comments
 (0)
0