The base class for all value objects and structs.
Properties¶
$sites
¶
SiteList.php
|
|
$sites
¶
SiteList.php
:
27
|
|
$totalCount
¶
SiteList.php
|
|
$totalCount
¶
SiteList.php
:
24
The total count of found sites.
|
|
$pages
¶
SiteList.php
:
30
|
|
Methods¶
__construct()
¶
SiteList.php
:
32
Construct object optionally with a set of properties.
|
|
Readonly properties values must be set using $properties
as they aren't writable anymore
after object has been created.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$totalCount | int | 0 | - |
$sites | array<string|int, mixed> | [] | - |
$pages | array<string|int, mixed> | [] | - |
getPages()
¶
SiteList.php
:
46
|
|
Return values
array<string|int, mixed>
getSites()
¶
SiteList.php
:
41
|
|
Return values
array<string|int, mixed>
getProperties()
¶
ValueObject.php
:
54
Returns list of available properties' names.
|
|
Override to add dynamic properties.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<int, string> | [] |
Additional dynamic properties exposed on the object |
Return values
array<int, string>