public function stop()
    {
        if ($this->isBusy()) {
            posix_kill($this->workPid, \SIGKILL);
            $this->getWorkState(true);
        }
    }
public function stop()
    {
        if ($this->isBusy()) {
            posix_kill($this->workPid, \SIGKILL);
            $this->getWorkState(true);
        }
    }
public function stop ( ) { if ( $ this -> isBusy ( ) ) { posix_kill ( $ this -> workPid , \ SIGKILL ) ; $ this -> getWorkState ( true ) ; } }
Stop the job immediately.
Stop the job immediately .