You are here

public function SymfonyStyle::error 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::error()

Formats an error result bar.

Parameters

string|array $message:

Overrides StyleInterface::error

File

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

Class

SymfonyStyle
Output decorator helpers for the Symfony Style Guide.

Namespace

Symfony\Component\Console\Style

Code

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