platform/api/laravel/Console/View/Components/Line.yaml
2024-09-02 10:44:11 -07:00

37 lines
1.3 KiB
YAML

name: Line
class_comment: null
dependencies:
- name: NewLineAware
type: class
source: Illuminate\Console\Contracts\NewLineAware
- name: OutputInterface
type: class
source: Symfony\Component\Console\Output\OutputInterface
properties:
- name: styles
visibility: protected
comment: '# * The possible line styles.
# *
# * @var array<string, array<string, string>>'
methods:
- name: render
visibility: public
parameters:
- name: style
- name: string
- name: verbosity
default: OutputInterface::VERBOSITY_NORMAL
comment: "# * The possible line styles.\n# *\n# * @var array<string, array<string,\
\ string>>\n# */\n# protected static $styles = [\n# 'info' => [\n# 'bgColor' =>\
\ 'blue',\n# 'fgColor' => 'white',\n# 'title' => 'info',\n# ],\n# 'warn' => [\n\
# 'bgColor' => 'yellow',\n# 'fgColor' => 'black',\n# 'title' => 'warn',\n# ],\n\
# 'error' => [\n# 'bgColor' => 'red',\n# 'fgColor' => 'white',\n# 'title' => 'error',\n\
# ],\n# ];\n# \n# /**\n# * Renders the component using the given arguments.\n\
# *\n# * @param string $style\n# * @param string $string\n# * @param int\
\ $verbosity\n# * @return void"
traits:
- Illuminate\Console\Contracts\NewLineAware
- Symfony\Component\Console\Output\OutputInterface
interfaces: []