📋 Commit iniziale con: - ✅ Documentazione unificata in docs/ - ✅ Codice Laravel in netgescon-laravel/ - ✅ Script automazione in scripts/ - ✅ Configurazione sync rsync - ✅ Struttura organizzata e pulita 🔄 Versione: 2025.07.19-1644 🎯 Sistema pronto per Git distribuito
29 lines
710 B
PHP
29 lines
710 B
PHP
<?php
|
|
|
|
namespace Illuminate\Console\View\Components;
|
|
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
|
|
class Alert extends Component
|
|
{
|
|
/**
|
|
* Renders the component using the given arguments.
|
|
*
|
|
* @param string $string
|
|
* @param int $verbosity
|
|
* @return void
|
|
*/
|
|
public function render($string, $verbosity = OutputInterface::VERBOSITY_NORMAL)
|
|
{
|
|
$string = $this->mutate($string, [
|
|
Mutators\EnsureDynamicContentIsHighlighted::class,
|
|
Mutators\EnsurePunctuation::class,
|
|
Mutators\EnsureRelativePaths::class,
|
|
]);
|
|
|
|
$this->renderView('alert', [
|
|
'content' => $string,
|
|
], $verbosity);
|
|
}
|
|
}
|