Фабрика
класс Factory (Просмотреть исходный код)
Свойства
| 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, bool $multiline = false) Описание отсутствует | |
| 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 | secret(string $question, bool $fallback = true) Описание отсутствует | |
| 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, bool $multiline = false)
Без описания
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 secret(string $question, bool $fallback = true)
Описание отсутствует
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/11.x/Illuminate/Console/View/Components/Factory.html