ConfirmableTrait (Console)
ConfirmableTrait
trait ConfirmableTrait (View source)
Methods
bool | confirmToProceed(string $warning = 'Application In Production!', Closure|bool|null $callback = null) Confirm before proceeding with the action. |
Details
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Console/ConfirmableTrait.html