platform/api/symfony/Component/Console/Command/SignalableCommandInterface.yaml

26 lines
720 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
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: []