api/laravel/Foundation/Console/CliDumper.yaml
2024-09-26 02:03:21 -07:00

118 lines
3.2 KiB
YAML

name: CliDumper
class_comment: null
dependencies:
- name: ResolvesDumpSource
type: class
source: Illuminate\Foundation\Concerns\ResolvesDumpSource
- name: ConsoleOutput
type: class
source: Symfony\Component\Console\Output\ConsoleOutput
- name: ReflectionCaster
type: class
source: Symfony\Component\VarDumper\Caster\ReflectionCaster
- name: Data
type: class
source: Symfony\Component\VarDumper\Cloner\Data
- name: VarCloner
type: class
source: Symfony\Component\VarDumper\Cloner\VarCloner
- name: BaseCliDumper
type: class
source: Symfony\Component\VarDumper\Dumper\CliDumper
- name: VarDumper
type: class
source: Symfony\Component\VarDumper\VarDumper
- name: ResolvesDumpSource
type: class
source: ResolvesDumpSource
properties:
- name: basePath
visibility: protected
comment: '# * The base path of the application.
# *
# * @var string'
- name: output
visibility: protected
comment: '# * The output instance.
# *
# * @var \Symfony\Component\Console\Output\OutputInterface'
- name: compiledViewPath
visibility: protected
comment: '# * The compiled view path for the application.
# *
# * @var string'
- name: dumping
visibility: protected
comment: '# * If the dumper is currently dumping.
# *
# * @var bool'
methods:
- name: __construct
visibility: public
parameters:
- name: output
- name: basePath
- name: compiledViewPath
comment: "# * The base path of the application.\n# *\n# * @var string\n# */\n# protected\
\ $basePath;\n# \n# /**\n# * The output instance.\n# *\n# * @var \\Symfony\\Component\\\
Console\\Output\\OutputInterface\n# */\n# protected $output;\n# \n# /**\n# * The\
\ compiled view path for the application.\n# *\n# * @var string\n# */\n# protected\
\ $compiledViewPath;\n# \n# /**\n# * If the dumper is currently dumping.\n# *\n\
# * @var bool\n# */\n# protected $dumping = false;\n# \n# /**\n# * Create a new\
\ CLI dumper instance.\n# *\n# * @param \\Symfony\\Component\\Console\\Output\\\
OutputInterface $output\n# * @param string $basePath\n# * @param string $compiledViewPath\n\
# * @return void"
- name: register
visibility: public
parameters:
- name: basePath
- name: compiledViewPath
comment: '# * Create a new CLI dumper instance and register it as the default dumper.
# *
# * @param string $basePath
# * @param string $compiledViewPath
# * @return void'
- name: dumpWithSource
visibility: public
parameters:
- name: data
comment: '# * Dump a variable with its source file / line.
# *
# * @param \Symfony\Component\VarDumper\Cloner\Data $data
# * @return void'
- name: getDumpSourceContent
visibility: protected
parameters: []
comment: '# * Get the dump''s source console content.
# *
# * @return string'
- name: supportsColors
visibility: protected
parameters: []
comment: '# * {@inheritDoc}'
traits:
- Illuminate\Foundation\Concerns\ResolvesDumpSource
- Symfony\Component\Console\Output\ConsoleOutput
- Symfony\Component\VarDumper\Caster\ReflectionCaster
- Symfony\Component\VarDumper\Cloner\Data
- Symfony\Component\VarDumper\Cloner\VarCloner
- Symfony\Component\VarDumper\VarDumper
- ResolvesDumpSource
interfaces: []