public function signalHandler()
    {
        if (!$this->_working) {
            $this->log('Not doing any jobs, going to die now...', 'warning');
            $this->_stop();
            return;
        }

        $this->stop = true;
    }
public function signalHandler()
    {
        if (!$this->_working) {
            $this->log('Not doing any jobs, going to die now...', 'warning');
            $this->_stop();
            return;
        }

        $this->stop = true;
    }
public function signalHandler ( ) { if ( ! $ this -> _working ) { $ this -> log ( 'Not doing any jobs, going to die now...' , 'warning' ) ; $ this -> _stop ( ) ; return ; } $ this -> stop = true ; }
Handle signals from the OS

@return void
Handle signals from the OS