Copied!

SiteCreateStruct

SiteCreateStruct.php : 24
Final
Extends ValueObject

The base class for all value objects and structs.

Properties

protected $copySiteSkeleton

SiteCreateStruct.php : 34
protected bool $copySiteSkeleton

protected $parentLocationId

SiteCreateStruct.php : 36
protected int $parentLocationId

protected $publicAccesses

SiteCreateStruct.php : 35
protected array<string|int, mixed> $publicAccesses

protected $siteCreated

SiteCreateStruct.php : 26
protected DateTimeInterface $siteCreated

protected $siteName

SiteCreateStruct.php : 33
protected string $siteName

protected $siteSkeletonLocationId

SiteCreateStruct.php : 39
protected int|null $siteSkeletonLocationId = null

protected $userGroupSkeletonIds

SiteCreateStruct.php : 37
protected array<string|int, mixed> $userGroupSkeletonIds

Methods

public__construct()

SiteCreateStruct.php : 32

Construct object optionally with a set of properties.

public __construct(string $siteName, bool $copySiteSkeleton, array<int, PublicAccess$publicAccesses, int $parentLocationId, array<int, int> $userGroupSkeletonIds[, DateTimeInterface|null $siteCreated = null ][, int|null $siteSkeletonLocationId = null ])

Parameters

Name Type Default value Description
$siteName string - -
$copySiteSkeleton bool - -
$publicAccesses array<int, PublicAccess> - -
$parentLocationId int - -
$userGroupSkeletonIds array<int, int> - -
$siteCreated DateTimeInterface|null null -
$siteSkeletonLocationId int|null null -

protectedgetProperties()

ValueObject.php : 53

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>

Attributes
#[Ignore]