You are here

public function SymfonyStyle::caution in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Style/SymfonyStyle.php \Symfony\Component\Console\Style\SymfonyStyle::caution()

Formats a caution admonition.

Parameters

string|array $message:

Overrides StyleInterface::caution

File

vendor/symfony/console/Style/SymfonyStyle.php, line 197

Class

SymfonyStyle
Output decorator helpers for the Symfony Style Guide.

Namespace

Symfony\Component\Console\Style

Code

public function caution($message) {
  $this
    ->block($message, 'CAUTION', 'fg=white;bg=red', ' ! ', true);
}