[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

(no description)

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

Defines 1 class

StyleInterface:: (18 methods):
  title()
  section()
  listing()
  text()
  success()
  error()
  warning()
  note()
  caution()
  table()
  ask()
  askHidden()
  confirm()
  choice()
  newLine()
  progressStart()
  progressAdvance()
  progressFinish()


Interface: StyleInterface  - X-Ref

Output style helpers.

title(string $message)   X-Ref
Formats a command title.


section(string $message)   X-Ref
Formats a section title.


listing(array $elements)   X-Ref
Formats a list.


text($message)   X-Ref
Formats informational text.

param: string|array $message

success($message)   X-Ref
Formats a success result bar.

param: string|array $message

error($message)   X-Ref
Formats an error result bar.

param: string|array $message

warning($message)   X-Ref
Formats an warning result bar.

param: string|array $message

note($message)   X-Ref
Formats a note admonition.

param: string|array $message

caution($message)   X-Ref
Formats a caution admonition.

param: string|array $message

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


ask(string $question, string $default = null, callable $validator = null)   X-Ref
Asks a question.

return: mixed

askHidden(string $question, callable $validator = null)   X-Ref
Asks a question with the user input hidden.

return: mixed

confirm(string $question, bool $default = true)   X-Ref
Asks for confirmation.

return: bool

choice(string $question, array $choices, $default = null)   X-Ref
Asks a choice question.

param: string|int|null $default
return: mixed

newLine(int $count = 1)   X-Ref
Add newline(s).


progressStart(int $max = 0)   X-Ref
Starts the progress output.


progressAdvance(int $step = 1)   X-Ref
Advances the progress output X steps.


progressFinish()   X-Ref
Finishes the progress output.




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