api/laravel/Console/Prohibitable.yaml
2024-09-26 02:03:21 -07:00

36 lines
918 B
YAML

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