refactor: susun semula struktur folder — Laravel source ke src/

This commit is contained in:
Saufi
2026-05-19 15:58:35 +08:00
parent f052251b94
commit bf53c71b45
10806 changed files with 1385379 additions and 121 deletions

35
vendor/laravel/prompts/src/Clear.php vendored Normal file
View File

@@ -0,0 +1,35 @@
<?php
namespace Laravel\Prompts;
class Clear extends Prompt
{
/**
* Clear the terminal.
*/
public function prompt(): bool
{
// Fill the previous newline count so subsequent prompts won't add padding.
static::output()->write(PHP_EOL.PHP_EOL);
$this->writeDirectly($this->renderTheme());
return true;
}
/**
* Clear the terminal.
*/
public function display(): void
{
$this->prompt();
}
/**
* Get the value of the prompt.
*/
public function value(): bool
{
return true;
}
}