platform/api/laravel/Console/ConfirmableTrait.yaml
2024-09-02 10:44:11 -07:00

35 lines
682 B
YAML

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: []