public function SymfonyStyle::text in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Style/SymfonyStyle.php \Symfony\Component\Console\Style\SymfonyStyle::text()
Formats informational text.
Parameters
string|array $message:
Overrides StyleInterface::text
File
- vendor/
symfony/ console/ Style/ SymfonyStyle.php, line 147
Class
- SymfonyStyle
- Output decorator helpers for the Symfony Style Guide.
Namespace
Symfony\Component\Console\StyleCode
public function text($message) {
$this
->autoPrependText();
if (!is_array($message)) {
$this
->writeln(sprintf(' // %s', $message));
return;
}
foreach ($message as $element) {
$this
->text($element);
}
}