ConfirmsWithInput
Console Command Trait that provides confirmation step that requires set
input to be provided in order to act as confirmation for an action
trait Winter\Storm\Console\Traits\ConfirmsWithInput
Methods
public confirmWithInput (string $message, string $requiredInput) : bool
Parameters
Property | Type | Description |
---|---|---|
$message | string |
string
|
$requiredInput | string |
string
|
Returns
bool
Copyright © 2023 Winter CMS