platform/api/symfony/Component/Console/Formatter/OutputFormatterStyleInterface.yaml

52 lines
1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
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: []