You are here

public function OutputFormatterStyleInterface::setForeground in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php \Symfony\Component\Console\Formatter\OutputFormatterStyleInterface::setForeground()

Sets style foreground color.

Parameters

string $color The color name:

1 method overrides OutputFormatterStyleInterface::setForeground()
OutputFormatterStyle::setForeground in vendor/symfony/console/Formatter/OutputFormatterStyle.php
Sets style foreground color.

File

vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php, line 26

Class

OutputFormatterStyleInterface
Formatter style interface for defining styles.

Namespace

Symfony\Component\Console\Formatter

Code

public function setForeground($color = null);