api/symfony/Component/Console/Formatter/OutputFormatterStyleInterface.yaml
2024-09-26 02:03:21 -07:00

51 lines
1 KiB
YAML

name: OutputFormatterStyleInterface
class_comment: null
dependencies: []
properties: []
methods:
- name: setForeground
visibility: public
parameters:
- name: color
comment: '# * Formatter style interface for defining styles.
# *
# * @author Konstantin Kudryashov <ever.zet@gmail.com>
# */
# interface OutputFormatterStyleInterface
# {
# /**
# * Sets style foreground color.'
- name: setBackground
visibility: public
parameters:
- name: color
comment: '# * Sets style background color.'
- name: setOption
visibility: public
parameters:
- name: option
comment: '# * Sets some specific style option.'
- name: unsetOption
visibility: public
parameters:
- name: option
comment: '# * Unsets some specific style option.'
- name: setOptions
visibility: public
parameters:
- name: options
comment: '# * Sets multiple style options at once.'
- name: apply
visibility: public
parameters:
- name: text
comment: '# * Applies the style to a given text.'
traits: []
interfaces: []