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 34
public
__construct(Application $application)
Constructor.
at line 53
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 76
public string
getDisplay()
Gets the display returned by the last execution of the application.
at line 88
public InputInterface
getInput()
Gets the input instance used by the last execution of the application.
at line 98
public OutputInterface
getOutput()
Gets the output instance used by the last execution of the application.