Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • OutputFormatter
  • OutputFormatterStyle
  • OutputFormatterStyleStack

Interfaces

  • OutputFormatterInterface
  • OutputFormatterStyleInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class OutputFormatterStyleStack

Namespace: Symfony\Component\Console\Formatter
Author: Jean-François Simon <contact@jfsimon.fr>
Located at console/Symfony/Component/Console/Formatter/OutputFormatterStyleStack.php
Methods summary
public
# __construct( Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle = null )

Constructor.

Constructor.

Parameters

$emptyStyle
Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
$emptyStyle
public
# reset( )

Resets stack (ie. empty internal arrays).

Resets stack (ie. empty internal arrays).

public
# push( Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style )

Pushes a style in the stack.

Pushes a style in the stack.

Parameters

$style
Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
$style
public Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
# pop( Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style = null )

Pops a style from the stack.

Pops a style from the stack.

Parameters

$style
Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
$style

Returns

Symfony\Component\Console\Formatter\OutputFormatterStyleInterface

Throws

InvalidArgumentException
When style tags incorrectly nested
public Symfony\Component\Console\Formatter\OutputFormatterStyle
# getCurrent( )

Computes current style with stacks top codes.

Computes current style with stacks top codes.

Returns

Symfony\Component\Console\Formatter\OutputFormatterStyle
public Symfony\Component\Console\Formatter\OutputFormatterStyleStack
# setEmptyStyle( Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle )

Parameters

$emptyStyle
Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
$emptyStyle

Returns

Symfony\Component\Console\Formatter\OutputFormatterStyleStack
public Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
# getEmptyStyle( )

Returns

Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
php-coveralls API documentation generated by ApiGen 2.8.0