[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/console/Tester/ -> ApplicationTester.php (summary)

(no description)

File Size: 65 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ApplicationTester:: (2 methods):
  __construct()
  run()


Class: ApplicationTester  - X-Ref

Eases the testing of console applications.

When testing an application, don't forget to disable the auto exit flag:

$application = new Application();
$application->setAutoExit(false);

__construct(Application $application)   X-Ref
No description

run(array $input, array $options = [])   X-Ref
Executes the application.

Available options:

* interactive:               Sets the input interactive flag
* decorated:                 Sets the output decorated flag
* verbosity:                 Sets the output verbosity flag
* capture_stderr_separately: Make output of stdOut and stdErr separately available

return: int The command exit code



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer