[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

File Size: 153 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($message)   X-Ref
Formats a command title.

param: string $message

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

param: string $message

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($question, $default = null, $validator = null)   X-Ref
Asks a question.

param: string        $question
param: string|null   $default
param: callable|null $validator
return: mixed

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

param: string        $question
param: callable|null $validator
return: mixed

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

param: string $question
param: bool   $default
return: bool

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

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

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

param: int $count The number of newlines

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

param: int $max Maximum steps (0 if unknown)

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

param: int $step Number of steps to advance

progressFinish()   X-Ref
Finishes the progress output.




Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1