On this page
Factory
class Factory (View source)
Properties
protected OutputStyle | $output | The output interface implementation. |
Methods
void | __construct(OutputStyle $output) Creates a new factory instance. |
|
mixed | __call(string $method, array $parameters) Dynamically handle calls into the component instance. |
|
void | alert(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) No description |
|
mixed | ask(string $question, string $default = null) No description |
|
mixed | askWithCompletion(string $question, array|callable $choices, string $default = null) No description |
|
void | bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) No description |
|
mixed | choice(string $question, array $choices, mixed $default, int $attempts = null, bool $multiple = false) No description |
|
bool | confirm(string $question, bool $default = false) No description |
|
void | error(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) No description |
|
void | info(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) No description |
|
void | line(string $style, string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) No description |
|
void | task(string $description, ?callable $task = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) No description |
|
void | twoColumnDetail(string $first, ?string $second = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) No description |
|
void | warn(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) No description |
Details
void __construct(OutputStyle $output)
Creates a new factory instance.
mixed __call(string $method, array $parameters)
Dynamically handle calls into the component instance.
void alert(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
No description
mixed ask(string $question, string $default = null)
No description
mixed askWithCompletion(string $question, array|callable $choices, string $default = null)
No description
void bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
No description
mixed choice(string $question, array $choices, mixed $default, int $attempts = null, bool $multiple = false)
No description
bool confirm(string $question, bool $default = false)
No description
void error(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
No description
void info(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
No description
void line(string $style, string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
No description
void task(string $description, ?callable $task = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
No description
void twoColumnDetail(string $first, ?string $second = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
No description
void warn(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
No description
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Console/View/Components/Factory.html