SymfonyStyle::note()

note(string|array $message) Formats a note admonition. Parameters string|array $message

SymfonyStyle::newLine()

newLine(int $count = 1) Add newline(s). Parameters int $count The number of newlines

SymfonyStyle::listing()

listing(array $elements) Formats a list. Parameters array $elements

SymfonyStyle::error()

error(string|array $message) Formats an error result bar. Parameters string|array $message

SymfonyStyle::createProgressBar()

ProgressBar createProgressBar(int $max) Parameters int $max Return Value ProgressBar

SymfonyStyle::confirm()

bool confirm(string $question, bool $default = true) Asks for confirmation. Parameters string $question bool $default Return Value bool

SymfonyStyle::comment()

comment(string|array $message) Formats a command comment. Parameters string|array $message

SymfonyStyle::choice()

string choice(string $question, array $choices, string|int|null $default = null) Asks a choice question. Parameters string $question array $choices string|int|null $default Return Value string

SymfonyStyle::caution()

caution(string|array $message) Formats a caution admonition. Parameters string|array $message

SymfonyStyle::block()

block(string|array $messages, string|null $type = null, string|null $style = null, string $prefix = ' ', bool $padding = false) Formats a message as a block of text. Parameters string|array $messages The message to write in the block string|null $type The block type (added in [] on first line) string|null $style The style to apply to the whole block string $prefix The prefix for the block bool $padding Whether to add vertical padding