36 lines
918 B
YAML
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: []
|