CommandTester::execute()

int execute(array $input, array $options = array())

Executes the command.

Available execution options:

  • interactive: Sets the input interactive flag
  • decorated: Sets the output decorated flag
  • verbosity: Sets the output verbosity flag

Parameters

array $input An array of command arguments and options
array $options An array of execution options

Return Value

int The command exit code
doc_Symfony
2016-10-28 06:09:46
Comments
Leave a Comment

Please login to continue.