File "PausePrompt-20250318064340.php"

Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/laravel/prompts/src/Exceptions/PausePrompt-20250318064340.php
File size: 568 bytes
MIME-type: text/x-php
Charset: utf-8

<?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;
    }
}