Azure OSS for PHP API Reference

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

$contentDisposition read-only

public string $contentDisposition = ''

$copyCompletionTime read-only

public DateTimeInterface|null $copyCompletionTime = null

$copySource read-only

public UriInterface|null $copySource = null

$copyStatusDescription read-only

public string|null $copyStatusDescription = null

Methods

fromResponseHeaders()

public static fromResponseHeaders(ResponseInterface $response) : self
Parameters
$response : ResponseInterface
Return values
self

fromXml()

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
On this page

Search results