out() публичный метод

### Output levels There are 3 built-in output level. Shell::QUIET, Shell::NORMAL, Shell::VERBOSE. The verbose and quiet output levels, map to the verbose and quiet output switches present in most shells. Using Shell::QUIET for a message means it will always display. While using Shell::VERBOSE means it will only display when verbose output is toggled.
public out ( string | array | null $message = null, integer $newlines = 1, integer $level = Shell::NORMAL ) : integer | boolean
$message string | array | null A string or an array of strings to output
$newlines integer Number of newlines to append
$level integer The message's output level, see above.
Результат integer | boolean The number of bytes returned from writing to stdout.
Пример #1
0
 /**
  * Convenience method for out() that wraps message between <question /> tag
  * @param string|array|null $message A string or an array of strings to
  *  output
  * @param int $newlines Number of newlines to append
  * @param int $level The message's output level, see above
  * @return int|bool Returns the number of bytes returned from writing to
  *  stdout
  */
 public function question($message = null, $newlines = 1, $level = Shell::NORMAL)
 {
     return parent::out(sprintf('<question>%s</question>', $message), $newlines, $level);
 }