ConfirmableTrait

trait ConfirmableTrait (View source)

Methods

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

Confirm before proceeding with the action

Closure getDefaultConfirmCallback()

Get the default confirmation callback.

Details

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

Confirm before proceeding with the action

Parameters

string $warning
Closure $callback

Return Value

bool

protected Closure getDefaultConfirmCallback()

Get the default confirmation callback.

Return Value

Closure

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/4.2/Illuminate/Console/ConfirmableTrait.html