Copied!

Interface for command reacting to signal.

AbstractInterface
Methods
public abstract getSubscribedSignals() : array
 

Returns the list of signals to subscribe.

public abstract handleSignal(int $signal, int|false $previousExitCode = 0) : int|false
 

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
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration