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