You are here

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

Formats a success result bar.

Parameters

string|array $message:

Overrides StyleInterface::success

File

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

Class

SymfonyStyle
Output decorator helpers for the Symfony Style Guide.

Namespace

Symfony\Component\Console\Style

Code

public function success($message) {
  $this
    ->block($message, 'OK', 'fg=black;bg=green', ' ', true);
}