You are here

public function OutputFormatterStyleInterface::setBackground 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::setBackground()

Sets style background color.

Parameters

string $color The color name:

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

File

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

Class

OutputFormatterStyleInterface
Formatter style interface for defining styles.

Namespace

Symfony\Component\Console\Formatter

Code

public function setBackground($color = null);