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()
            ¶
    
        
        CatalogCreateStruct.php
                :
        56
                 
    
        Construct object optionally with a set of properties.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $identifier | string | - | - | 
| $criterion | CriterionInterface | - | - | 
| $names | array<string, string> | - | - | 
| $descriptions | array<string, string> | - | - | 
| $status | string | Status::DRAFT_PLACE | - | 
| $creatorId | int|null | null | - | 
                 addDescription()
            ¶
addDescription()
            ¶
    
        
        CatalogCreateStruct.php
                :
        100
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $languageCode | string | - | - | 
| $description | string | - | - | 
                 addName()
            ¶
addName()
            ¶
    
        
        CatalogCreateStruct.php
                :
        87
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $languageCode | string | - | - | 
| $name | string | - | - | 
                 getCreatorId()
            ¶
getCreatorId()
            ¶
    
        
        CatalogCreateStruct.php
                :
        118
                 
    
        |  |  | 
Return values
int|null
                 getCriterion()
            ¶
getCriterion()
            ¶
    
        
        CatalogCreateStruct.php
                :
        133
                 
    
        |  |  | 
Return values
                 getDescription()
            ¶
getDescription()
            ¶
    
        
        CatalogCreateStruct.php
                :
        105
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $languageCode | string | - | - | 
Return values
string
                 getDescriptions()
            ¶
getDescriptions()
            ¶
    
        
        CatalogCreateStruct.php
                :
        113
                 
    
        |  |  | 
Return values
array<string, string>
                 getIdentifier()
            ¶
getIdentifier()
            ¶
    
        
        CatalogCreateStruct.php
                :
        77
                 
    
        |  |  | 
Return values
string
                 getName()
            ¶
getName()
            ¶
    
        
        CatalogCreateStruct.php
                :
        82
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $languageCode | string | - | - | 
Return values
string
                 getNames()
            ¶
getNames()
            ¶
    
        
        CatalogCreateStruct.php
                :
        95
                 
    
        |  |  | 
Return values
array<string, string>
                 getStatus()
            ¶
getStatus()
            ¶
    
        
        CatalogCreateStruct.php
                :
        128
                 
    
        |  |  | 
Return values
string
                 setCreatorId()
            ¶
setCreatorId()
            ¶
    
        
        CatalogCreateStruct.php
                :
        123
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $creatorId | int | - | - | 
                 setCriterion()
            ¶
setCriterion()
            ¶
    
        
        CatalogCreateStruct.php
                :
        138
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $criterion | CriterionInterface | - | - | 
                 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>