private function SymfonyStyle::autoPrependText in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Style/SymfonyStyle.php \Symfony\Component\Console\Style\SymfonyStyle::autoPrependText()
2 calls to SymfonyStyle::autoPrependText()
- SymfonyStyle::listing in vendor/
symfony/ console/ Style/ SymfonyStyle.php - Formats a list.
- SymfonyStyle::text in vendor/
symfony/ console/ Style/ SymfonyStyle.php - Formats informational text.
File
- vendor/
symfony/ console/ Style/ SymfonyStyle.php, line 389
Class
- SymfonyStyle
- Output decorator helpers for the Symfony Style Guide.
Namespace
Symfony\Component\Console\StyleCode
private function autoPrependText() {
$fetched = $this->bufferedOutput
->fetch();
//Prepend new line if last char isn't EOL:
if ("\n" !== substr($fetched, -1)) {
$this
->newLine();
}
}