original_string: protected function handleSignal(int $signo, $siginfo) : void
      {
          $this->log("Signal received: $signo", LOG_DEBUG, "syslog");
          if ($signo === SIGTERM || $signo === SIGINT || $signo === SIGQUIT) {
              $this->log("Termination signal received. Shutting down.", LOG_INFO, [ "syslog", STDOUT ], true);
              $this->shutdown();
          } elseif ($signo === SIGHUP) {
              $this->config->reload();
          }
      }
code: protected function handleSignal(int $signo, $siginfo) : void
      {
          $this->log("Signal received: $signo", LOG_DEBUG, "syslog");
          if ($signo === SIGTERM || $signo === SIGINT || $signo === SIGQUIT) {
              $this->log("Termination signal received. Shutting down.", LOG_INFO, [ "syslog", STDOUT ], true);
              $this->shutdown();
          } elseif ($signo === SIGHUP) {
              $this->config->reload();
          }
      }
code_tokens: protected function handleSignal ( int $ signo , $ siginfo ) : void { $ this -> log ( "Signal received: $signo" , LOG_DEBUG , "syslog" ) ; if ( $ signo === SIGTERM || $ signo === SIGINT || $ signo === SIGQUIT ) { $ this -> log ( "Termination signal received. Shutting down." , LOG_INFO , [ "syslog" , STDOUT ] , true ) ; $ this -> shutdown ( ) ; } elseif ( $ signo === SIGHUP ) { $ this -> config -> reload ( ) ; } }
docstring: An overridable function for signal handling
  
  See http://php.net/manual/en/function.pcntl-signal.php for information about signal handling
  
  @param int $signo The int representation of the signal received
  @param mixed $siginfo An optional (and usually absent) info packet associated with the signal
  @return void
docstring_tokens: An overridable function for signal handling