📋 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
27 lines
636 B
PHP
27 lines
636 B
PHP
<?php
|
|
|
|
namespace Illuminate\Console\View\Components;
|
|
|
|
use Symfony\Component\Console\Question\Question;
|
|
|
|
class Ask extends Component
|
|
{
|
|
/**
|
|
* Renders the component using the given arguments.
|
|
*
|
|
* @param string $question
|
|
* @param string $default
|
|
* @param bool $multiline
|
|
* @return mixed
|
|
*/
|
|
public function render($question, $default = null, $multiline = false)
|
|
{
|
|
return $this->usingQuestionHelper(
|
|
fn () => $this->output->askQuestion(
|
|
(new Question($question, $default))
|
|
->setMultiline($multiline)
|
|
)
|
|
);
|
|
}
|
|
}
|