code: public function signalHandler($signo) {
  		switch ($signo) {
  			case SIGCHLD:
  				$this->reaper();
  				break;
  			case SIGTERM:
  				// handle shutdown tasks
  				$this->exitPhp(0);
  				break;
  			case SIGHUP:
  				// handle restart tasks
  				break;
  			case SIGUSR1:
  				// handle sigusr
  				break;
  			default: // handle all other signals
  		}
  		// more signals to dispatch?
  		pcntl_signal_dispatch();
  	}
docs: Receives signals
  
  DO NOT MANUALLY CALL THIS METHOD!
  pcntl_signal_dispatch() will be calling this method.
  @param int $signo the signal number
  @see pcntl_signal_dispatch
  @see pcntl_signal