Spec-Zone.ru › Laravel 10

Фабрика

класс 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)

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

Параметры

OutputStyle $output

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

void

mixed __call(string $method, array $parameters)

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

Параметры

string $method
array $parameters

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

mixed

Исключения

InvalidArgumentException
END_OF_DOCUMENT_MARKER

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/10.x/Illuminate/Console/View/Components/Factory.html

Spec-Zone.ru

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