api/laravel/Console/ConfirmableTrait.yaml

36 lines
682 B
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: ConfirmableTrait
class_comment: null
dependencies: []
properties: []
methods:
- name: confirmToProceed
visibility: public
parameters:
- name: warning
default: '''Application In Production'''
- name: callback
default: 'null'
comment: '# * Confirm before proceeding with the action.
# *
# * This method only asks for confirmation in production.
# *
# * @param string $warning
# * @param \Closure|bool|null $callback
# * @return bool'
- name: getDefaultConfirmCallback
visibility: protected
parameters: []
comment: '# * Get the default confirmation callback.
# *
# * @return \Closure'
traits: []
interfaces: []