/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Console/View/Components/BulletList.php
28 строк
746 B
Nuno Maduro
[9.x] Introducing a fresh new look for Artisan (#43065)
14 июл 2022, 17:38
Не верифицирован
14 июл 2022, 17:38
a105ae5
Код
Авторство
О чём код?
<?php namespace Illuminate\Console\View\Components; use Symfony\Component\Console\Output\OutputInterface; class BulletList extends Component { /** * Renders the component using the given arguments. * * @param array<int, string> $elements * @param int $verbosity * @return void */ public function render($elements, $verbosity = OutputInterface::VERBOSITY_NORMAL) { $elements = $this->mutate($elements, [ Mutators\EnsureDynamicContentIsHighlighted::class, Mutators\EnsureNoPunctuation::class, Mutators\EnsureRelativePaths::class, ]); $this->renderView('bullet-list', [ 'elements' => $elements, ], $verbosity); } }