[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/console/Tester/ -> TesterTrait.php (summary)

(no description)

Author: Amrouche Hamza <[email protected]>
File Size: 197 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  getDisplay()
  getErrorOutput()
  getInput()
  getOutput()
  getStatusCode()
  assertCommandIsSuccessful()
  setInputs()
  initOutput()
  createStream()

Functions
Functions that are not part of a class:

getDisplay(bool $normalize = false)   X-Ref
Gets the display returned by the last execution of the command or application.

return: string

getErrorOutput(bool $normalize = false)   X-Ref
Gets the output written to STDERR by the application.

param: bool $normalize Whether to normalize end of lines to \n or not
return: string

getInput()   X-Ref
Gets the input instance used by the last execution of the command or application.

return: InputInterface

getOutput()   X-Ref
Gets the output instance used by the last execution of the command or application.

return: OutputInterface

getStatusCode()   X-Ref
Gets the status code returned by the last execution of the command or application.

return: int

assertCommandIsSuccessful(string $message = '')   X-Ref
No description

setInputs(array $inputs)   X-Ref
Sets the user inputs.

param: array $inputs An array of strings representing each input
return: $this

initOutput(array $options)   X-Ref
Initializes the output property.

Available options:

* decorated:                 Sets the output decorated flag
* verbosity:                 Sets the output verbosity flag
* capture_stderr_separately: Make output of stdOut and stdErr separately available

createStream(array $inputs)   X-Ref

return: resource



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer