protected function closeProcess()
    {
        if (! is_resource($this->process)) {
            return;
        }

        $procCloseFn = 'proc_close';
        if (!$this->resourceOpen instanceof ProcOpen) {
            $procCloseFn = 'fclose';
        }

        call_user_func($procCloseFn, $this->process);
    }
protected function closeProcess()
    {
        if (! is_resource($this->process)) {
            return;
        }

        $procCloseFn = 'proc_close';
        if (!$this->resourceOpen instanceof ProcOpen) {
            $procCloseFn = 'fclose';
        }

        call_user_func($procCloseFn, $this->process);
    }
protected function closeProcess ( ) { if ( ! is_resource ( $ this -> process ) ) { return ; } $ procCloseFn = 'proc_close' ; if ( ! $ this -> resourceOpen instanceof ProcOpen ) { $ procCloseFn = 'fclose' ; } call_user_func ( $ procCloseFn , $ this -> process ) ; }
Close the process opened by this worker.

@return void
Close the process opened by this worker .