confirmToProceed()
Confirm before proceeding with the action.
public
confirmToProceed(
[ $force :
bool
= false ]
[, $warning :
string
= 'Application In Production Mode!' ]
[, $callback :
Closure|bool|null
= null ]
)
: bool
This method only asks for confirmation in production.
Parameters
- $force : bool = false
- $warning : string = 'Application In Production Mode!'
- $callback : Closure|bool|null = null