File
extends DomainValue
in package
FinalYes
Immutable base for Inttegro domain values.
Table of Contents
Properties
- $availableAt : string|null
- $checksumSha256 : string
- $contentType : string
- $createdAt : string
- $createdBy : FileActor
- $customData : array<string, string>|null
- $delivery : FileDeliveryDetails|null
- $expiresAt : string|null
- $filename : string|null
- $id : string
- $latestError : FileLatestError|null
- $media : FileMedia|null
- $metadata : array<string, string>|null
- $name : string|null
- $purpose : string
- $scanStatus : string
- $size : int
- $source : FileSource
- $status : string
- $storage : PublicFileStorage
- $updatedAt : string
Methods
- __construct() : mixed
- __get() : mixed
- __isset() : bool
- fromArray() : static
- jsonSerialize() : mixed
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- toArray() : array<string, mixed>
Properties
$availableAt read-only
public
string|null
$availableAt
$checksumSha256 read-only
public
string
$checksumSha256
$contentType read-only
public
string
$contentType
$createdAt read-only
public
string
$createdAt
$createdBy read-only
public
FileActor
$createdBy
$customData read-only
public
array<string, string>|null
$customData
$delivery read-only
public
FileDeliveryDetails|null
$delivery
$expiresAt read-only
public
string|null
$expiresAt
$filename read-only
public
string|null
$filename
$id read-only
public
string
$id
$latestError read-only
public
FileLatestError|null
$latestError
$media read-only
public
FileMedia|null
$media
$metadata read-only
public
array<string, string>|null
$metadata
$name read-only
public
string|null
$name
$purpose read-only
public
string
$purpose
$scanStatus read-only
public
string
$scanStatus
$size read-only
public
int
$size
$source read-only
public
FileSource
$source
$status read-only
public
string
$status
$storage read-only
public
PublicFileStorage
$storage
$updatedAt read-only
public
string
$updatedAt
Methods
__construct()
public
__construct(array<string, mixed> $data) : mixed
Parameters
- $data : array<string, mixed>
__get()
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
boolfromArray()
public
static fromArray(array<string, mixed> $data) : static
Parameters
- $data : array<string, mixed>
Return values
staticjsonSerialize()
public
jsonSerialize() : mixed
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
toArray()
public
toArray() : array<string, mixed>