Copied!
CloneableInstantiable
Methods
public __construct(?Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle = NULL)
public getCurrent() : Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
 

Computes current style with stacks top codes.

public getEmptyStyle() : Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
public pop(?Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style = NULL) : Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
 

Pops a style from the stack.

  • throws \InvalidArgumentException When style tags incorrectly nested
public push(Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style) : void
 

Pushes a style in the stack.

public reset() : void
 

Resets stack (ie. empty internal arrays).

public setEmptyStyle(Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle) : static
 
  • return $this
Properties
private Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle
private array $styles = []
 
  • var \OutputFormatterStyleInterface[]
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration