ConfirmableTrait
trait ConfirmableTrait (View source)
Methods
TReturn is false ? true : bool)
confirmToProceed(string $warning = 'Application In Production', TReturn|TReturn|null $callback = null)
Confirm before proceeding with the action.
Closure(): bool
getDefaultConfirmCallback()
Get the default confirmation callback.
Details
TReturn is false ? true : bool)
confirmToProceed(string $warning = 'Application In Production', TReturn|TReturn|null $callback = null)
Confirm before proceeding with the action.
This method only asks for confirmation in production.
protected Closure(): bool
getDefaultConfirmCallback()
Get the default confirmation callback.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.