Class \Prado\Util\TSignalParameter
This is the parameter for signal events. The TEventParameter::getParameter() property is the array of $signalInfo from the Signal handler TSignalsDispatcher::__invoke(); when available on the PHP system.
There is also the Signal self::getSignal(), whether to exit self::getIsExit(), the exit code when exiting self::getExitCode(), and the alarm time self::getAlarmTime() if the signal is SIGALRM.
When there is Signal Info in the Parameter property, there are inspection methods self::getParameterErrorNumber() for accessing the Signal Error Number, self::getParameterCode() for accessing the Signal Code, self::getParameterStatus() for accessing the Signal Status, self::getParameterPID() for accessing the Signal PID, and self::getParameterUID() for accessing the Signal PID UID.
Class hierarchy
Author: Brad Anderson <belisoful@icloud.com>Since: 4.3.0
public
|
__construct([int $signal = 0 ][, bool $isExiting = false ][, int $exitCode = 0 ][, mixed $parameter = null ]) : mixed
Constructor.
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |