Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. OutputFormatterStyleStack.php

function OutputFormatterStyleStack::push

Pushes a style in the stack.

File

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

Class

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

Namespace

Symfony\Component\Console\Formatter

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal