The base class for all value objects and structs.
Supports read-only properties by marking them as protected.
In this case they will only be writable using constructor, and need to be documented
using @property-read <type> <$var> annotation in class doc in addition to inline property doc.
Writable properties must be public and must be documented inline.
Methods¶
                 __construct()
            ¶
__construct()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        56
                 
    
        Construct object optionally with a set of properties.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $id | int | - | - | 
| $transition | string|null | null | - | 
| $identifier | string|null | null | - | 
| $criterion | CriterionInterface|null | null | - | 
| $names | array<string, string> | [] | - | 
| $descriptions | array<string, string> | [] | - | 
                 addDescription()
            ¶
addDescription()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        106
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $languageCode | string | - | - | 
| $description | string | - | - | 
                 addName()
            ¶
addName()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        93
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $languageCode | string | - | - | 
| $name | string | - | - | 
                 getCriterion()
            ¶
getCriterion()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        150
                 
    
        |  |  | 
Return values
CriterionInterface|null
                 getDescription()
            ¶
getDescription()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        111
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $languageCode | string | - | - | 
Return values
string
                 getDescriptions()
            ¶
getDescriptions()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        119
                 
    
        |  |  | 
Return values
array<string, string>
                 getId()
            ¶
getId()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        78
                 
    
        |  |  | 
Return values
int
                 getIdentifier()
            ¶
getIdentifier()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        83
                 
    
        |  |  | 
Return values
string|null
                 getName()
            ¶
getName()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        88
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $languageCode | string | - | - | 
Return values
string
                 getNames()
            ¶
getNames()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        101
                 
    
        |  |  | 
Return values
array<string, string>
                 getStatus()
            ¶
getStatus()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        145
                 
    
        |  |  | 
Return values
string
                 getTransition()
            ¶
getTransition()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        127
                 
    
        |  |  | 
Return values
string|null
                 setCriterion()
            ¶
setCriterion()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        155
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $criterion | CriterionInterface|null | - | - | 
                 setStatus()
            ¶
setStatus()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        140
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $status | string | - | - | 
                 setTransition()
            ¶
setTransition()
            ¶
    
        
        CatalogUpdateStruct.php
                :
        135
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $transition | string|null | - | - | 
                 getProperties()
            ¶
getProperties()
            ¶
    
        
        ValueObject.php
                :
        54
                 
    
        Returns list of available properties' names.
|  |  | 
Override to add dynamic properties.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $dynamicProperties | array<int, string> | [] | Additional dynamic properties exposed on the object | 
Return values
array<int, string>