You are here

public function SymfonyStyle::warning in Zircon Profile 8

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

Formats an warning result bar.

Parameters

string|array $message:

Overrides StyleInterface::warning

File

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

Class

SymfonyStyle
Output decorator helpers for the Symfony Style Guide.

Namespace

Symfony\Component\Console\Style

Code

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