[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/console/Output/ -> ConsoleSectionOutput.php (summary)

(no description)

File Size: 143 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ConsoleSectionOutput:: (8 methods):
  __construct()
  clear()
  overwrite()
  getContent()
  addContent()
  doWrite()
  popStreamContentUntilCurrentSection()
  getDisplayLength()


Class: ConsoleSectionOutput  - X-Ref


__construct($stream, array &$sections, int $verbosity, bool $decorated, OutputFormatterInterface $formatter)   X-Ref

param: resource               $stream
param: ConsoleSectionOutput[] $sections

clear(int $lines = null)   X-Ref
Clears previous output for this section.

param: int $lines Number of lines to clear. If null, then the entire output of this section is cleared

overwrite($message)   X-Ref
Overwrites the previous output with a new message.

param: array|string $message

getContent()   X-Ref
No description

addContent(string $input)   X-Ref


doWrite(string $message, bool $newline)   X-Ref
{@inheritdoc}


popStreamContentUntilCurrentSection(int $numberOfLinesToClearFromCurrentSection = 0)   X-Ref
At initial stage, cursor is at the end of stream output. This method makes cursor crawl upwards until it hits
current section. Then it erases content it crawled through. Optionally, it erases part of current section too.


getDisplayLength(string $text)   X-Ref
No description



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