ConfirmableTrait
trait ConfirmableTrait (View source)
Methods
TReturn is false ? true : bool)
confirmToProceed(string $warning = 'Application In Production', TReturn|TReturn|null $callback = null)
Confirm before proceeding with the action.
Closure(): bool
getDefaultConfirmCallback()
Get the default confirmation callback.
Details
TReturn is false ? true : bool)
confirmToProceed(string $warning = 'Application In Production', TReturn|TReturn|null $callback = null)
Confirm before proceeding with the action.
This method only asks for confirmation in production.
protected Closure(): bool
getDefaultConfirmCallback()
Get the default confirmation callback.