ConfirmableTrait
trait ConfirmableTrait
Methods
bool
confirmToProceed(string $warning = 'Application In Production!', Closure|bool|null $callback = null)
Confirm before proceeding with the action.
getDefaultConfirmCallback()
Get the default confirmation callback.
Details
at line 18
bool
confirmToProceed(string $warning = 'Application In Production!', Closure|bool|null $callback = null)
Confirm before proceeding with the action.
This method only asks for confirmation in production.
at line 48
protected Closure
getDefaultConfirmCallback()
Get the default confirmation callback.