|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/erp.theinteractive.co.in/vendor/laravel/prompts/src/ |
Upload File : |
<?php
namespace Laravel\Prompts;
class Note extends Prompt
{
/**
* Create a new Note instance.
*/
public function __construct(public string $message, public ?string $type = null)
{
//
}
/**
* Display the note.
*/
public function display(): void
{
$this->prompt();
}
/**
* Display the note.
*/
public function prompt(): bool
{
$this->capturePreviousNewLines();
$this->state = 'submit';
static::output()->write($this->renderTheme());
return true;
}
/**
* Get the value of the prompt.
*/
public function value(): bool
{
return true;
}
}