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
Used by
| Class | Description |
|---|---|
PluginRefresh
|
Console command to refresh a plugin. |
PluginRemove
|
Console command to remove a plugin. |
PluginRollback
|
Console command to rollback a plugin. |
WinterDown
|
Console command to tear down the database. |
UserCreate
|
Copyright © 2025 Winter CMS