api/symfony/Component/Console/Command/SignalableCommandInterface.yaml
2024-09-26 02:03:21 -07:00

25 lines
720 B
YAML

name: SignalableCommandInterface
class_comment: null
dependencies: []
properties: []
methods:
- name: getSubscribedSignals
visibility: public
parameters: []
comment: "# * Interface for command reacting to signal.\n# *\n# * @author Gr\xE9\
goire Pineau <lyrixx@lyrix.info>\n# */\n# interface SignalableCommandInterface\n\
# {\n# /**\n# * Returns the list of signals to subscribe."
- name: handleSignal
visibility: public
parameters:
- name: signal
- name: previousExitCode
default: '0'
comment: '# * The method will be called when the application is signaled.
# *
# * @return int|false The exit code to return or false to continue the normal
execution'
traits: []
interfaces: []