platform/api/laravel/Console/Prohibitable.yaml

37 lines
918 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: Prohibitable
class_comment: null
dependencies: []
properties:
- name: prohibitedFromRunning
visibility: protected
comment: '# * Indicates if the command should be prohibited from running.
# *
# * @var bool'
methods:
- name: prohibit
visibility: public
parameters:
- name: prohibit
default: 'true'
comment: "# * Indicates if the command should be prohibited from running.\n# *\n\
# * @var bool\n# */\n# protected static $prohibitedFromRunning = false;\n# \n\
# /**\n# * Indicate whether the command should be prohibited from running.\n#\
\ *\n# * @param bool $prohibit\n# * @return void"
- name: isProhibited
visibility: protected
parameters:
- name: quiet
default: 'false'
comment: '# * Determine if the command is prohibited from running and display a
warning if so.
# *
# * @param bool $quiet
# * @return bool'
traits: []
interfaces: []