src/ForkManager.php
public function handler($signal) {
        switch ($signal) {
            case SIGALRM :
                $this->isStopped = true;
                $this->closeChildren();
                break;
            case SIGINT :
            case SIGKILL :
                $this->broadcast($signal);
                exit;
            default: break;
        }
    }
public function handler($signal) {
        switch ($signal) {
            case SIGALRM :
                $this->isStopped = true;
                $this->closeChildren();
                break;
            case SIGINT :
            case SIGKILL :
                $this->broadcast($signal);
                exit;
            default: break;
        }
    }
public function handler ( $ signal ) { switch ( $ signal ) { case SIGALRM : $ this -> isStopped = true ; $ this -> closeChildren ( ) ; break ; case SIGINT : case SIGKILL : $ this -> broadcast ( $ signal ) ; exit ; default : break ; } }
ISignal handler.

@param integer $signal signal number
ISignal handler .