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

131 lines
5.8 KiB
YAML

name: Factory
class_comment: '# * @method void alert(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method mixed ask(string $question, string $default = null, bool $multiline
= false)
# * @method mixed askWithCompletion(string $question, array|callable $choices, string
$default = null)
# * @method void bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method mixed choice(string $question, array $choices, $default = null, int
$attempts = null, bool $multiple = false)
# * @method bool confirm(string $question, bool $default = false)
# * @method void error(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method void info(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method void line(string $style, string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method void secret(string $question, bool $fallback = true)
# * @method void task(string $description, ?callable $task = null, int $verbosity
= \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method void twoColumnDetail(string $first, ?string $second = null, int $verbosity
= \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method void warn(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)'
dependencies:
- name: InvalidArgumentException
type: class
source: InvalidArgumentException
properties:
- name: output
visibility: protected
comment: '# * @method void alert(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method mixed ask(string $question, string $default = null, bool $multiline
= false)
# * @method mixed askWithCompletion(string $question, array|callable $choices,
string $default = null)
# * @method void bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method mixed choice(string $question, array $choices, $default = null, int
$attempts = null, bool $multiple = false)
# * @method bool confirm(string $question, bool $default = false)
# * @method void error(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method void info(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method void line(string $style, string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method void secret(string $question, bool $fallback = true)
# * @method void task(string $description, ?callable $task = null, int $verbosity
= \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method void twoColumnDetail(string $first, ?string $second = null, int $verbosity
= \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# * @method void warn(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
# */
# class Factory
# {
# /**
# * The output interface implementation.
# *
# * @var \Illuminate\Console\OutputStyle'
methods:
- name: __construct
visibility: public
parameters:
- name: output
comment: "# * @method void alert(string $string, int $verbosity = \\Symfony\\Component\\\
Console\\Output\\OutputInterface::VERBOSITY_NORMAL)\n# * @method mixed ask(string\
\ $question, string $default = null, bool $multiline = false)\n# * @method mixed\
\ askWithCompletion(string $question, array|callable $choices, string $default\
\ = null)\n# * @method void bulletList(array $elements, int $verbosity = \\Symfony\\\
Component\\Console\\Output\\OutputInterface::VERBOSITY_NORMAL)\n# * @method mixed\
\ choice(string $question, array $choices, $default = null, int $attempts = null,\
\ bool $multiple = false)\n# * @method bool confirm(string $question, bool $default\
\ = false)\n# * @method void error(string $string, int $verbosity = \\Symfony\\\
Component\\Console\\Output\\OutputInterface::VERBOSITY_NORMAL)\n# * @method void\
\ info(string $string, int $verbosity = \\Symfony\\Component\\Console\\Output\\\
OutputInterface::VERBOSITY_NORMAL)\n# * @method void line(string $style, string\
\ $string, int $verbosity = \\Symfony\\Component\\Console\\Output\\OutputInterface::VERBOSITY_NORMAL)\n\
# * @method void secret(string $question, bool $fallback = true)\n# * @method\
\ void task(string $description, ?callable $task = null, int $verbosity = \\Symfony\\\
Component\\Console\\Output\\OutputInterface::VERBOSITY_NORMAL)\n# * @method void\
\ twoColumnDetail(string $first, ?string $second = null, int $verbosity = \\Symfony\\\
Component\\Console\\Output\\OutputInterface::VERBOSITY_NORMAL)\n# * @method void\
\ warn(string $string, int $verbosity = \\Symfony\\Component\\Console\\Output\\\
OutputInterface::VERBOSITY_NORMAL)\n# */\n# class Factory\n# {\n# /**\n# * The\
\ output interface implementation.\n# *\n# * @var \\Illuminate\\Console\\OutputStyle\n\
# */\n# protected $output;\n# \n# /**\n# * Creates a new factory instance.\n#\
\ *\n# * @param \\Illuminate\\Console\\OutputStyle $output\n# * @return void"
- name: __call
visibility: public
parameters:
- name: method
- name: parameters
comment: '# * Dynamically handle calls into the component instance.
# *
# * @param string $method
# * @param array $parameters
# * @return mixed
# *
# * @throws \InvalidArgumentException'
traits:
- InvalidArgumentException
interfaces: []