Copied!

ObjectStateGroup

ObjectStateGroup.php : 24
Extends ValueObject

This class represents an object state group value.

Properties

public $defaultLanguageCode read-only

ObjectStateGroup.php
public string $defaultLanguageCode

the default language code.

public $id read-only

ObjectStateGroup.php
public mixed $id

the id of the content type group

public $identifier read-only

ObjectStateGroup.php
public string $identifier

the identifier of the content type group

public $languageCodes read-only

ObjectStateGroup.php
public array<string|int, string> $languageCodes

the available languages

public $mainLanguageCode read-only

ObjectStateGroup.php
public string $mainLanguageCode

the default language of the object state group names and description used for fallback.

protected $defaultLanguageCode

ObjectStateGroup.php : 45

The default language code.

protected string $defaultLanguageCode

protected $id

ObjectStateGroup.php : 31

Primary key.

protected mixed $id

protected $identifier

ObjectStateGroup.php : 38

Readable string identifier of a group.

protected string $identifier

protected $languageCodes

ObjectStateGroup.php : 52

The available language codes for names an descriptions.

protected array<string|int, string> $languageCodes

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>