Фабрика
класс Factory (View source)
Свойства
| protected OutputStyle | $output | Реализация интерфейса вывода. |
Методы
| void | __construct(OutputStyle $output)
Создает новый экземпляр фабрики. | |
| mixed | __call(string $method, array $parameters)
Динамически обрабатывает вызовы в экземпляр компонента. | |
| void | alert(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) Без описания | |
| mixed | ask(string $question, string $default = null) Без описания | |
| mixed | askWithCompletion(string $question, array|callable $choices, string $default = null) Без описания | |
| void | bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) Без описания | |
| mixed | choice(string $question, array $choices, mixed $default, int $attempts = null, bool $multiple = false) Без описания | |
| bool | confirm(string $question, bool $default = false) Без описания | |
| void | error(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) Без описания | |
| void | info(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) Без описания | |
| void | line(string $style, string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) Без описания | |
| void | task(string $description, ?callable $task = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) Без описания | |
| void | twoColumnDetail(string $first, ?string $second = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) Без описания | |
| void | warn(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) Без описания |
Детали
void __construct(OutputStyle $output)
Создает новый экземпляр фабрики.
mixed __call(string $method, array $parameters)
Динамически обрабатывает вызовы в экземпляр компонента.
void alert(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
Описание отсутствует
mixed ask(string $question, string $default = null)
Описание отсутствует
mixed askWithCompletion(string $question, array|callable $choices, string $default = null)
Описание отсутствует
void bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
Описание отсутствует
mixed choice(string $question, array $choices, mixed $default, int $attempts = null, bool $multiple = false)
Описание отсутствует
bool confirm(string $question, bool $default = false)
Описание отсутствует
void error(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
Описание отсутствует
void info(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
Описание отсутствует
void line(string $style, string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
Описание отсутствует
void task(string $description, ?callable $task = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
Без описания
void twoColumnDetail(string $first, ?string $second = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
Без описания
void warn(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
Без описания
© 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