src/Client.php
public function delete($id)
    {
        $this->_write(sprintf('delete %d', $id));
        $status = $this->_read();

        switch ($status) {
            case 'DELETED':
                return true;
            case 'NOT_FOUND':
                return false;
            default:
                throw new ServerException('Delete error: '.$status);
        }
    }
public function delete($id)
    {
        $this->_write(sprintf('delete %d', $id));
        $status = $this->_read();

        switch ($status) {
            case 'DELETED':
                return true;
            case 'NOT_FOUND':
                return false;
            default:
                throw new ServerException('Delete error: '.$status);
        }
    }
public function delete ( $ id ) { $ this -> _write ( sprintf ( 'delete %d' , $ id ) ) ; $ status = $ this -> _read ( ) ; switch ( $ status ) { case 'DELETED' : return true ; case 'NOT_FOUND' : return false ; default : throw new ServerException ( 'Delete error: ' . $ status ) ; } }
Removes a job from the server entirely.

@param int $id The id of the job.

@return bool `false` on error, `true` on success.
Removes a job from the server entirely .