function deleteRemainingResponses() {
        foreach($this->responses as $id => $msgs) {
            foreach($msgs as $response) {
                if(\is_array($response)) {
                    foreach($response as $resp) {
                        $resp->delete()->done();
                    }
                } else {
                    $response->delete()->done();
                }
            }
            
            $this->responses[$id] = array();
        }
    }
function deleteRemainingResponses() {
        foreach($this->responses as $id => $msgs) {
            foreach($msgs as $response) {
                if(\is_array($response)) {
                    foreach($response as $resp) {
                        $resp->delete()->done();
                    }
                } else {
                    $response->delete()->done();
                }
            }
            
            $this->responses[$id] = array();
        }
    }
function deleteRemainingResponses ( ) { foreach ( $ this -> responses as $ id => $ msgs ) { foreach ( $ msgs as $ response ) { if ( \ is_array ( $ response ) ) { foreach ( $ response as $ resp ) { $ resp -> delete ( ) -> done ( ) ; } } else { $ response -> delete ( ) -> done ( ) ; } } $ this -> responses [ $ id ] = array ( ) ; } }
Deletes any prior responses that haven't been updated.
@return void
@internal
Deletes any prior responses that haven t been updated .