Spec-Zone.ru › Laravel 9

Фабрика

класс Фабрика (Исходный код)

Свойства

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)

Создает новый экземпляр фабрики.

Параметры

OutputStyle $output

Возвращаемое значение

void

mixed __call(string $method, array $parameters)

Динамически обрабатывает вызовы к экземпляру компонента.

Параметры

string $method
array $parameters

Возвращаемое значение

mixed

Исключения

InvalidArgumentException

void alert(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)

Описание отсутствует

Параметры

string $string
int $verbosity

Значение возврата

void

mixed ask(string $question, string $default = null)

Описание отсутствует

Параметры

string $question
string $default

Значение возврата

mixed

mixed askWithCompletion(string $question, array|callable $choices, string $default = null)

Описание отсутствует

Параметры

string $question
array|callable $choices
string $default

Значение возврата

mixed

void bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)

Описание отсутствует

Параметры

array $elements
int $verbosity

Значение возврата

void

mixed choice(string $question, array $choices, mixed $default, int $attempts = null, bool $multiple = false)

Описание отсутствует

Параметры

string $question
array $choices
mixed $default
int $attempts
bool $multiple

Значение возврата

mixed

bool confirm(string $question, bool $default = false)

Описание отсутствует

Параметры

string $question
bool $default

Значение возврата

bool

void error(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)

Описание отсутствует

Параметры

string $string
int $verbosity

Значение возврата

void

void info(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)

Описание отсутствует

Параметры

string $string
int $verbosity

Значение возврата

void

void line(string $style, string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)

Описание отсутствует

Параметры

string $style
string $string
int $verbosity

Значение возврата

void

void task(string $description, ?callable $task = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)

Без описания

Параметры

string $description
?callable $task
int $verbosity

Возвращаемое значение

void

void twoColumnDetail(string $first, ?string $second = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)

Без описания

Параметры

string $first
?string $second
int $verbosity

Возвращаемое значение

void

void warn(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)

Без описания

Параметры

string $string
int $verbosity

Возвращаемое значение

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/9.x/Illuminate/Console/View/Components/Factory.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API