$application
$application :
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(\Symfony\Component\Console\Application $application)
\Symfony\Component\Console\Application | $application |
run(array $input, array $options = array()) : integer
Executes the application.
Available options:
array | $input | An array of arguments and options |
array | $options | An array of options |
The command exit code