TesterTrait
trait TesterTrait
Methods
string
getDisplay(bool $normalize = false)
Gets the display returned by the last execution of the command or application.
string
getErrorOutput(bool $normalize = false)
Gets the output written to STDERR by the application.
getInput()
Gets the input instance used by the last execution of the command or application.
getOutput()
Gets the output instance used by the last execution of the command or application.
int
getStatusCode()
Gets the status code returned by the last execution of the command or application.
setInputs(array $inputs)
Sets the user inputs.
Details
string
getDisplay(bool $normalize = false)
Gets the display returned by the last execution of the command or application.
string
getErrorOutput(bool $normalize = false)
Gets the output written to STDERR by the application.
InputInterface
getInput()
Gets the input instance used by the last execution of the command or application.
OutputInterface
getOutput()
Gets the output instance used by the last execution of the command or application.