You are here

public function OutputFormatterInterface::setStyle in Zircon Profile 8

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

Sets a new style.

Parameters

string $name The style name:

OutputFormatterStyleInterface $style The style instance:

1 method overrides OutputFormatterInterface::setStyle()
OutputFormatter::setStyle in vendor/symfony/console/Formatter/OutputFormatter.php
Sets a new style.

File

vendor/symfony/console/Formatter/OutputFormatterInterface.php, line 41

Class

OutputFormatterInterface
Formatter interface for console output.

Namespace

Symfony\Component\Console\Formatter

Code

public function setStyle($name, OutputFormatterStyleInterface $style);