public function rewind() { return $this->seek(0); }
/** * Get body for response * * {@inheritdoc} */ public function getBody() { $body = new Stream('php://temp', 'wb+'); $body->write($this->resource->asJson()); $body->rewind(); return $body; }