class ApplicationTester
Eases the testing of console applications.
Methods
|
__construct(Application $application)
Constructor. |
||
| integer |
run(array $input, array $options = array())
Executes the application. |
|
| string |
getDisplay()
Gets the display returned by the last execution of the application. |
|
| InputInterface |
getInput()
Gets the input instance used by the last execution of the application. |
|
| OutputInterface |
getOutput()
Gets the output instance used by the last execution of the application. |
Details
at line 36
public
__construct(Application $application)
Constructor.
at line 55
public integer
run(array $input, array $options = array())
Executes the application.
Available options:
* interactive: Sets the input interactive flag
* decorated: Sets the output decorated flag
* verbosity: Sets the output verbosity flag
at line 78
public string
getDisplay()
Gets the display returned by the last execution of the application.
at line 90
public InputInterface
getInput()
Gets the input instance used by the last execution of the application.
at line 100
public OutputInterface
getOutput()
Gets the output instance used by the last execution of the application.