SignalableCommandInterface
                
            in
            
        
    
        
            Interface for command reacting to signal.
Tags
Table of Contents
Methods
- getSubscribedSignals() : array<string|int, mixed>
 - Returns the list of signals to subscribe.
 - handleSignal() : int|false
 - The method will be called when the application is signaled.
 
Methods
getSubscribedSignals()
Returns the list of signals to subscribe.
    public
                    getSubscribedSignals() : array<string|int, mixed>
    Return values
array<string|int, mixed>handleSignal()
The method will be called when the application is signaled.
    public
                    handleSignal(int $signal[, int|false $previousExitCode = 0 ]) : int|false
    Parameters
- $signal : int
 - $previousExitCode : int|false = 0
 
Return values
int|false —The exit code to return or false to continue the normal execution