Copied!

ObjectState

ObjectState.php : 14
Extends ValueObject

This class represents a persistent object state.

Properties

public $defaultLanguage

ObjectState.php : 49

The default language code for.

public string $defaultLanguage

public $description

ObjectState.php : 80

Human readable description of the object state.

public array<string|int, string> $description

The structure of this field is: array( 'eng-US' => '<description_eng>', 'ger-DE' => '<description_de>' );

public $groupId

ObjectState.php : 35

The id of the group this object state belongs to.

public mixed $groupId

public $id

ObjectState.php : 21

The id of the object state.

public mixed $id

public $identifier

ObjectState.php : 28

The identifier for the object state group.

public string $identifier

public $languageCodes

ObjectState.php : 56

The available language codes for names an descriptions.

public array<string|int, string> $languageCodes

public $name

ObjectState.php : 68

Human readable name of the object state.

public array<string|int, string> $name

The structure of this field is: array( 'eng-US' => '<name_eng>', 'ger-DE' => '<name_de>' );

public $priority

ObjectState.php : 42

The priority of the object state in the group.

public int $priority

Methods

public__construct()

ValueObject.php : 30

Construct object optionally with a set of properties.

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

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
$properties array<string|int, mixed> [] -

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>