OutputStyle::write()

write(string|array $messages, bool $newline = false, $type = self::OUTPUT_NORMAL) Writes a message to the output. Parameters string|array $messages The message as an array of lines or a single string bool $newline Whether to add a newline $type

StyleInterface::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::listing()

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

StyleInterface::text()

text(string|array $message) Formats informational text. Parameters string|array $message

PassConfig::setBeforeRemovingPasses()

setBeforeRemovingPasses(array $passes) Sets the BeforeRemoving passes. Parameters array $passes An array of passes

NullOutput::isQuiet()

bool isQuiet() Returns whether verbosity is quiet (-q). Return Value bool true if verbosity is set to VERBOSITY_QUIET, false otherwise

SymfonyStyle::ask()

string ask(string $question, string|null $default = null, callable|null $validator = null) Asks a question. Parameters string $question string|null $default callable|null $validator Return Value string

OutputInterface::write()

write(string|array $messages, bool $newline = false, int $options) Writes a message to the output. Parameters string|array $messages The message as an array of lines or a single string bool $newline Whether to add a newline int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUTNORMAL | self::VERBOSITYNORMAL

Output::writeln()

writeln(string|array $messages, int $options = self::OUTPUT_NORMAL) Writes a message to the output and adds a newline at the end. Parameters string|array $messages The message as an array of lines of a single string int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUTNORMAL | self::VERBOSITYNORMAL

SymfonyStyle::createProgressBar()

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