TwoColumnDetail
class TwoColumnDetail extends Component (View source)
Свойства
| protected OutputStyle | $output | Реализация стиля вывода. | из Component |
| protected | $mutators | Список мутаторов для применения к данным представления. | из Component |
Методы
| void | __construct(OutputStyle $output) Создаёт новый экземпляр компонента. | из Component |
| void | renderView(string $view, Arrayable|array $data, int $verbosity) Отображает заданное представление. | из Component |
| void | compile(string $view, array $data) Компилирует содержимое заданного представления. | из Component |
| array<int,string>|string | mutate(array<int,string>|string $data, $mutators) Изменяет заданные данные с помощью заданного набора мутаторов. | из Component |
| mixed | usingQuestionHelper(callable $callable) В конечном счёте выполняет вопрос с помощью помощника по вопросам компонента. | из Component |
| void | render(string $first, string|null $second = null, int $verbosity = OutputInterface::VERBOSITY_NORMAL) Отображает компонент, используя заданные аргументы. |
Подробности
void __construct(OutputStyle $output)
Создаёт новый экземпляр компонента.
protected void renderView(string $view, Arrayable|array $data, int $verbosity)
Отображает заданное представление.
protected void compile(string $view, array $data)
Компилирует содержимое заданного представления.
protected array<int,string>|string mutate(array<int,string>|string $data, $mutators)
Изменяет заданные данные с помощью заданного набора мутаторов.
protected mixed usingQuestionHelper(callable $callable)
В конечном счёте выполняет вопрос с помощью помощника по вопросам компонента.
void render(string $first, string|null $second = null, int $verbosity = OutputInterface::VERBOSITY_NORMAL)
Отображает компонент, используя заданные аргументы.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/9.x/Illuminate/Console/View/Components/TwoColumnDetail.html