trait ConfirmableTrait (View source)

Methods

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

Confirm before proceeding with the action.

Details

at line line 16
bool confirmToProceed( string $warning = 'Application In Production!', Closure|bool|null $callback = null)

Confirm before proceeding with the action.

Parameters

string $warning
Closure|bool|null $callback

Return Value

bool