Copied!

TaxonomyEntryAssignment

TaxonomyEntryAssignment.php : 19
Extends ValueObject

The base class for all value objects and structs.

Properties

public $content read-only

TaxonomyEntryAssignment.php
public Content $content

public $entry read-only

TaxonomyEntryAssignment.php
public TaxonomyEntry $entry

public $id read-only

TaxonomyEntryAssignment.php
public int $id

protected $content

TaxonomyEntryAssignment.php : 23
protected Content $content

protected $entry

TaxonomyEntryAssignment.php : 25
protected TaxonomyEntry $entry

protected $id

TaxonomyEntryAssignment.php : 21
protected int $id

Methods

public__construct()

TaxonomyEntryAssignment.php : 27

Construct object optionally with a set of properties.

public __construct(int $id, Content $content, TaxonomyEntry $entry)

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
$id int - -
$content Content - -
$entry TaxonomyEntry - -

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>