function SymfonyStyle::writeln
Overrides OutputStyle::writeln
5 calls to SymfonyStyle::writeln()
- SymfonyStyle::block in vendor/
symfony/ console/ Style/ SymfonyStyle.php - Formats a message as a block of text.
- SymfonyStyle::listing in vendor/
symfony/ console/ Style/ SymfonyStyle.php - Formats a list.
- SymfonyStyle::section in vendor/
symfony/ console/ Style/ SymfonyStyle.php - Formats a section title.
- SymfonyStyle::text in vendor/
symfony/ console/ Style/ SymfonyStyle.php - Formats informational text.
- SymfonyStyle::title in vendor/
symfony/ console/ Style/ SymfonyStyle.php - Formats a command title.
File
-
vendor/
symfony/ console/ Style/ SymfonyStyle.php, line 319
Class
- SymfonyStyle
- Output decorator helpers for the Symfony Style Guide.
Namespace
Symfony\Component\Console\StyleCode
public function writeln(string|iterable $messages, int $type = self::OUTPUT_NORMAL) : void {
if (!is_iterable($messages)) {
$messages = [
$messages,
];
}
foreach ($messages as $message) {
parent::writeln($message, $type);
$this->writeBuffer($message, true, $type);
}
}