[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/console/Style/ -> SymfonyStyle.php (summary)

(no description)

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

Defines 1 class

SymfonyStyle:: (36 methods):
  __construct()
  block()
  title()
  section()
  listing()
  text()
  comment()
  success()
  error()
  warning()
  note()
  info()
  caution()
  table()
  horizontalTable()
  definitionList()
  ask()
  askHidden()
  confirm()
  choice()
  progressStart()
  progressAdvance()
  progressFinish()
  createProgressBar()
  progressIterate()
  askQuestion()
  writeln()
  write()
  newLine()
  getErrorStyle()
  createTable()
  getProgressBar()
  autoPrependBlock()
  autoPrependText()
  writeBuffer()
  createBlock()


Class: SymfonyStyle  - X-Ref

Output decorator helpers for the Symfony Style Guide.

__construct(InputInterface $input, OutputInterface $output)   X-Ref
No description

block($messages, string $type = null, string $style = null, string $prefix = ' ', bool $padding = false, bool $escape = true)   X-Ref
Formats a message as a block of text.

param: string|array $messages The message to write in the block

title(string $message)   X-Ref
{@inheritdoc}


section(string $message)   X-Ref
{@inheritdoc}


listing(array $elements)   X-Ref
{@inheritdoc}


text($message)   X-Ref
{@inheritdoc}


comment($message)   X-Ref
Formats a command comment.

param: string|array $message

success($message)   X-Ref
{@inheritdoc}


error($message)   X-Ref
{@inheritdoc}


warning($message)   X-Ref
{@inheritdoc}


note($message)   X-Ref
{@inheritdoc}


info($message)   X-Ref
Formats an info message.

param: string|array $message

caution($message)   X-Ref
{@inheritdoc}


table(array $headers, array $rows)   X-Ref
{@inheritdoc}


horizontalTable(array $headers, array $rows)   X-Ref
Formats a horizontal table.


definitionList(...$list)   X-Ref
Formats a list of key/value horizontally.

Each row can be one of:
* 'A title'
* ['key' => 'value']
* new TableSeparator()

param: string|array|TableSeparator ...$list

ask(string $question, string $default = null, callable $validator = null)   X-Ref
{@inheritdoc}


askHidden(string $question, callable $validator = null)   X-Ref
{@inheritdoc}


confirm(string $question, bool $default = true)   X-Ref
{@inheritdoc}


choice(string $question, array $choices, $default = null)   X-Ref
{@inheritdoc}


progressStart(int $max = 0)   X-Ref
{@inheritdoc}


progressAdvance(int $step = 1)   X-Ref
{@inheritdoc}


progressFinish()   X-Ref
{@inheritdoc}


createProgressBar(int $max = 0)   X-Ref
{@inheritdoc}


progressIterate(iterable $iterable, int $max = null)   X-Ref


askQuestion(Question $question)   X-Ref

return: mixed

writeln($messages, int $type = self::OUTPUT_NORMAL)   X-Ref
{@inheritdoc}


write($messages, bool $newline = false, int $type = self::OUTPUT_NORMAL)   X-Ref
{@inheritdoc}


newLine(int $count = 1)   X-Ref
{@inheritdoc}


getErrorStyle()   X-Ref
Returns a new instance which makes use of stderr if available.

return: self

createTable()   X-Ref
No description

getProgressBar()   X-Ref
No description

autoPrependBlock()   X-Ref
No description

autoPrependText()   X-Ref
No description

writeBuffer(string $message, bool $newLine, int $type)   X-Ref
No description

createBlock(iterable $messages, string $type = null, string $style = null, string $prefix = ' ', bool $padding = false, bool $escape = false)   X-Ref
No description



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