Base SPI Value object.
All properties of SPI\ValueObject must be serializable for cache & NoSQL use.
Properties¶
                
        $alwaysAvailable
            ¶
    
        If set, this value will change the always available flag.
| 
                     | 
                
                    
                     | 
            
                
        $isHidden
            ¶
    
        If set, this value will change the hidden flag.
| 
                     | 
                
                    
                     | 
            
                
        $mainLanguageId
            ¶
    
        If set, the content's main language will be changed.
| 
                     | 
                
                    
                     | 
            
                
        $modificationDate
            ¶
    
        If set this value overrides the modification date.
| 
                     | 
                
                    
                     | 
            
Unix timestamp.
                
        $name
            ¶
    
        If set, will change the content's "always-available" name.
| 
                     | 
                
                    
                     | 
            
                
        $ownerId
            ¶
    
        If set, this value changes the content's owner ID.
| 
                     | 
                
                    
                     | 
            
                
        $publicationDate
            ¶
    
        If set this value overrides the publication date of the content.
| 
                     | 
                
                    
                     | 
            
Unix timestamp.
                
        $remoteId
            ¶
    
        If set, this value will change the content's remote ID.
| 
                     | 
                
                    
                     | 
            
Methods¶
                
__construct()
            ¶
    
        Construct object optionally with a set of properties.
| 
                     | 
                
                    
                     | 
            
Readonly properties values must be set using $properties as they aren't writable anymore
after object has been created.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $properties | array<string, mixed> | [] | - | 
                
getProperties()
            ¶
    
        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>
Attributes
- #[Ignore]