BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
app.imagivibe.com
/
vendor
/
laravel
/
prompts
/
src
📤 Upload
📝 New File
📁 New Folder
Close
Editing: PausePrompt.php
<?php namespace Laravel\Prompts; class PausePrompt extends Prompt { /** * Create a new PausePrompt instance. */ public function __construct(public string $message = 'Press enter to continue...') { $this->required = false; $this->validate = null; $this->on('key', fn ($key) => match ($key) { Key::ENTER => $this->submit(), default => null, }); } /** * Get the value of the prompt. */ public function value(): bool { return static::$interactive; } }
Save
Cancel