Documentation

ConfirmableTrait

Table of Contents

confirmToProceed()  : bool
Confirm before proceeding with the action.
getDefaultConfirmCallback()  : Closure
Get the default confirmation callback.

Methods

confirmToProceed()

Confirm before proceeding with the action.

public confirmToProceed([string $warning = 'Application In Production!' ][, Closure|bool|null $callback = null ]) : bool

This method only asks for confirmation in production.

Parameters
$warning : string = 'Application In Production!'
$callback : Closure|bool|null = null
Return values
bool

getDefaultConfirmCallback()

Get the default confirmation callback.

protected getDefaultConfirmCallback() : Closure
Return values
Closure

Search results