public function SymfonyStyle::title in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Style/SymfonyStyle.php \Symfony\Component\Console\Style\SymfonyStyle::title()
Formats a command title.
Parameters
string $message:
Overrides StyleInterface::title
File
- vendor/
symfony/ console/ Style/ SymfonyStyle.php, line 107
Class
- SymfonyStyle
- Output decorator helpers for the Symfony Style Guide.
Namespace
Symfony\Component\Console\StyleCode
public function title($message) {
$this
->autoPrependBlock();
$this
->writeln(array(
sprintf('<comment>%s</>', $message),
sprintf('<comment>%s</>', str_repeat('=', strlen($message))),
));
$this
->newLine();
}