You are here

public function OutputFormatterStyleStack::push in Zircon Profile 8

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

Pushes a style in the stack.

Parameters

OutputFormatterStyleInterface $style:

File

vendor/symfony/console/Formatter/OutputFormatterStyleStack.php, line 53

Class

OutputFormatterStyleStack
@author Jean-François Simon <contact@jfsimon.fr>

Namespace

Symfony\Component\Console\Formatter

Code

public function push(OutputFormatterStyleInterface $style) {
  $this->styles[] = $style;
}