Copied!

SiteUpdateStruct

SiteUpdateStruct.php : 17
Final
Extends ValueObject

The base class for all value objects and structs.

Properties

public $publicAccesses read-only

SiteUpdateStruct.php
public array<string|int, PublicAccess$publicAccesses

protected $publicAccesses

SiteUpdateStruct.php : 23
protected array<string|int, PublicAccess$publicAccesses

public $siteName read-only

SiteUpdateStruct.php
public string $siteName

protected $siteName

SiteUpdateStruct.php : 20
protected string $siteName

Methods

public__construct()

SiteUpdateStruct.php : 25

Construct object optionally with a set of properties.

public __construct(string $siteName, array<string|int, mixed> $publicAccesses)

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 - -
$publicAccesses array<string|int, mixed> - -

protectedgetProperties()

ValueObject.php : 54

Returns list of available properties' names.

protected getProperties([array<int, string> $dynamicProperties = [] ]) : array<int, string>

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>

Tags
Serializerignore

()