The base class for all value objects and structs.
Properties¶
$copySiteSkeleton
¶
SiteCreateStruct.php
:
30
|
|
|
$parentLocationId
¶
SiteCreateStruct.php
:
42
|
|
|
$publicAccesses
¶
SiteCreateStruct.php
:
36
|
|
|
$siteCreated
¶
SiteCreateStruct.php
:
33
|
|
|
$siteName
¶
SiteCreateStruct.php
:
27
|
|
|
$siteSkeletonLocationId
¶
SiteCreateStruct.php
:
39
|
|
|
$userGroupSkeletonIds
¶
SiteCreateStruct.php
:
45
|
|
|
Methods¶
__construct()
¶
SiteCreateStruct.php
:
47
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 |
|---|---|---|---|
| $siteName | string | - | - |
| $copySiteSkeleton | bool | - | - |
| $publicAccesses | array<string|int, mixed> | - | - |
| $parentLocationId | int | - | - |
| $userGroupSkeletonIds | array<string|int, mixed> | - | - |
| $siteCreated | DateTimeInterface|null | null | - |
| $siteSkeletonLocationId | int|null | null | - |
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>