/** * {@inheritdoc} */ public function populateFromResponse(ResponseInterface $response) { parent::populateFromResponse($response); $this->objectCount = $response->getHeaderLine('X-Container-Object-Count'); $this->bytesUsed = $response->getHeaderLine('X-Container-Bytes-Used'); $this->metadata = $this->parseMetadata($response); }
/** * {@inheritdoc} */ public function populateFromResponse(ResponseInterface $response) { parent::populateFromResponse($response); $this->hash = $response->getHeaderLine('ETag'); $this->contentLength = $response->getHeaderLine('Content-Length'); $this->lastModified = $response->getHeaderLine('Last-Modified'); $this->contentType = $response->getHeaderLine('Content-Type'); $this->metadata = $this->parseMetadata($response); }
/** * {@inheritdoc} */ public function populateFromResponse(ResponseInterface $response) { parent::populateFromResponse($response); $this->containerCount = $response->getHeader('X-Account-Container-Count'); $this->objectCount = $response->getHeader('X-Account-Object-Count'); $this->bytesUsed = $response->getHeader('X-Account-Bytes-Used'); $this->tempUrl = $response->getHeader('X-Account-Meta-Temp-URL-Key'); $this->metadata = $this->parseMetadata($response); }
public function populateFromResponse(ResponseInterface $response) { parent::populateFromResponse($response); $this->metadata = $this->parseMetadata($response); return $this; }
/** * {@inheritDoc} */ public function populateFromResponse(ResponseInterface $response) { parent::populateFromResponse($response); $this->id = $response->getHeader('X-Subject-Token'); return $this; }