BlobProperties
in package
FinalYes
Represents Azure Storage blob properties data.
Table of Contents
Properties
- $cacheControl : string
- $contentDisposition : string
- $contentEncoding : string
- $contentLanguage : string
- $contentLength : int
- $contentMD5 : string|null
- $contentType : string
- $copyCompletionTime : DateTimeInterface|null
- $copyId : string|null
- $copySource : UriInterface|null
- $copyStatus : CopyStatus|null
- $copyStatusDescription : string|null
- $eTag : ETag|null
- $lastModified : DateTimeInterface
- $metadata : array<string|int, mixed>
Methods
- fromResponseHeaders() : self
- fromXml() : self
- __construct() : mixed
Properties
$cacheControl read-only
public
string
$cacheControl
= ''
$contentDisposition read-only
public
string
$contentDisposition
= ''
$contentEncoding read-only
public
string
$contentEncoding
= ''
$contentLanguage read-only
public
string
$contentLanguage
= ''
$contentLength read-only
public
int
$contentLength
$contentMD5 read-only
public
string|null
$contentMD5
$contentType read-only
public
string
$contentType
$copyCompletionTime read-only
public
DateTimeInterface|null
$copyCompletionTime
= null
$copyId read-only
public
string|null
$copyId
= null
$copySource read-only
public
UriInterface|null
$copySource
= null
$copyStatus read-only
public
CopyStatus|null
$copyStatus
= null
$copyStatusDescription read-only
public
string|null
$copyStatusDescription
= null
$eTag read-only
public
ETag|null
$eTag
= null
$lastModified read-only
public
DateTimeInterface
$lastModified
$metadata read-only
public
array<string|int, mixed>
$metadata
Methods
fromResponseHeaders()
public
static fromResponseHeaders(ResponseInterface $response) : self
Parameters
- $response : ResponseInterface
Return values
selffromXml()
public
static fromXml(SimpleXMLElement $xml) : self
Parameters
- $xml : SimpleXMLElement
Return values
self__construct()
private
__construct(DateTimeInterface $lastModified, int $contentLength, string $contentType, string|null $contentMD5, array<string|int, string> $metadata[, string|null $copyId = null ][, UriInterface|null $copySource = null ][, CopyStatus|null $copyStatus = null ][, string|null $copyStatusDescription = null ][, DateTimeInterface|null $copyCompletionTime = null ][, string $cacheControl = '' ][, string $contentDisposition = '' ][, string $contentLanguage = '' ][, string $contentEncoding = '' ][, ETag|null $eTag = null ]) : mixed
Parameters
- $lastModified : DateTimeInterface
- $contentLength : int
- $contentType : string
- $contentMD5 : string|null
- $metadata : array<string|int, string>
- $copyId : string|null = null
- $copySource : UriInterface|null = null
- $copyStatus : CopyStatus|null = null
- $copyStatusDescription : string|null = null
- $copyCompletionTime : DateTimeInterface|null = null
- $cacheControl : string = ''
- $contentDisposition : string = ''
- $contentLanguage : string = ''
- $contentEncoding : string = ''
- $eTag : ETag|null = null