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

Interface OutputFormatterStyleInterface

Formatter style interface for defining styles.

Direct known implementers

Symfony\Component\Console\Formatter\OutputFormatterStyle
Namespace: Symfony\Component\Console\Formatter
Author: Konstantin Kudryashov <ever.zet@gmail.com>
Api
Located at console/Symfony/Component/Console/Formatter/OutputFormatterStyleInterface.php
Methods summary
public
# setForeground( string $color = null )

Sets style foreground color.

Sets style foreground color.

Parameters

$color
string
$color The color name

Api

public
# setBackground( string $color = null )

Sets style background color.

Sets style background color.

Parameters

$color
string
$color The color name

Api

public
# setOption( string $option )

Sets some specific style option.

Sets some specific style option.

Parameters

$option
string
$option The option name

Api

public
# unsetOption( string $option )

Unsets some specific style option.

Unsets some specific style option.

Parameters

$option
string
$option The option name
public
# setOptions( array $options )

Sets multiple style options at once.

Sets multiple style options at once.

Parameters

$options
array
$options
public string
# apply( string $text )

Applies the style to a given text.

Applies the style to a given text.

Parameters

$text
string
$text The text to style

Returns

string
php-coveralls API documentation generated by ApiGen 2.8.0