public function deleteObjectState(ObjectState $objectState) { $response = $this->client->request('DELETE', $objectState->id, new Message(array('Accept' => $this->outputVisitor->getMediaType('ObjectState')))); if (!empty($response->body)) { $this->inputDispatcher->parse($response); } }