Copied!

TaxonomyEntryCreateStruct

TaxonomyEntryCreateStruct.php : 20
Extends ValueObject

The base class for all value objects and structs.

Properties

public $content read-only

TaxonomyEntryCreateStruct.php
public Content $content

public $identifier read-only

TaxonomyEntryCreateStruct.php
public string $identifier

public $parent read-only

TaxonomyEntryCreateStruct.php
public TaxonomyEntry|null $parent

public $taxonomy read-only

TaxonomyEntryCreateStruct.php
public string $taxonomy

protected $content

TaxonomyEntryCreateStruct.php : 28
protected Content|null $content

protected $identifier

TaxonomyEntryCreateStruct.php : 22
protected string|null $identifier

protected $parent

TaxonomyEntryCreateStruct.php : 26
protected TaxonomyEntry|null $parent

protected $taxonomy

TaxonomyEntryCreateStruct.php : 24
protected string|null $taxonomy

Methods

public__construct()

TaxonomyEntryCreateStruct.php : 30

Construct object optionally with a set of properties.

public __construct([string|null $identifier = null ][, string|null $taxonomy = null ][, TaxonomyEntry|null $parent = null ][, Content|null $content = null ])

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
$identifier string|null null -
$taxonomy string|null null -
$parent TaxonomyEntry|null null -
$content Content|null null -

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>