Copied!

PublicAccessList

PublicAccessList.php : 22
Extends ValueObject
Implements IteratorAggregate

The base class for all value objects and structs.

Properties

public $publicAccesses read-only

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

public $totalCount read-only

PublicAccessList.php
public int $totalCount

protected $publicAccesses

PublicAccessList.php : 30
protected array<string|int, PublicAccess$publicAccesses = []

protected $totalCount

PublicAccessList.php : 25
protected int $totalCount

Methods

public__construct()

PublicAccessList.php : 32

Construct object optionally with a set of properties.

public __construct([int $totalCount = 0 ][, array<string|int, mixed> $publicAccesses = [] ])

Readonly properties values must be set using $properties as they are not writable anymore after object has been created.

Parameters

Name Type Default value Description
$totalCount int 0 -
$publicAccesses array<string|int, mixed> [] -

publicgetIterator()

PublicAccessList.php : 40
public getIterator() : Traversable

Return values

Traversable

protectedgetProperties()

ValueObject.php : 50

Function where list of properties are returned.

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

Used by attributes(), override to add dynamic properties

Parameters

Name Type Default value Description
$dynamicProperties array<string|int, mixed> []

Additional dynamic properties exposed on the object

Return values

array<string|int, mixed>