ProductMedia
extends DomainValue
in package
FinalYes
Immutable base for Inttegro domain values.
Table of Contents
Properties
- $brandLogo : string|null
- $demoVideo : string|null
- $downloads : array<int, string>|null
- $gallery : array<int, string>|null
- $heroImage : string|null
- $infographic : string|null
- $promoVideo : string|null
- $thumbnail : string|null
- $webPageUrl : string|null
Methods
- __construct() : mixed
- __get() : mixed
- __isset() : bool
- fromArray() : static
- jsonSerialize() : mixed
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- toArray() : array<string, mixed>
Properties
$brandLogo read-only
public
string|null
$brandLogo
$demoVideo read-only
public
string|null
$demoVideo
$downloads read-only
public
array<int, string>|null
$downloads
$gallery read-only
public
array<int, string>|null
$gallery
$heroImage read-only
public
string|null
$heroImage
$infographic read-only
public
string|null
$infographic
$promoVideo read-only
public
string|null
$promoVideo
$thumbnail read-only
public
string|null
$thumbnail
$webPageUrl read-only
public
string|null
$webPageUrl
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>