The base class for all value objects and structs.
Properties¶
                 $pages
            ¶
        $pages
            ¶
    
        
        SiteList.php
                :
        30
                 
    
        |  |  | 
                 $sites
            ¶
        $sites
            ¶
    
        
        SiteList.php
                :
        27
                 
    
        |  |  | 
                 $totalCount
            ¶
        $totalCount
            ¶
    
        
        SiteList.php
                :
        24
                 
    
        The total count of found sites.
|  |  | 
Methods¶
                 __construct()
            ¶
__construct()
            ¶
    
        
        SiteList.php
                :
        32
                 
    
        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 | 
|---|---|---|---|
| $totalCount | int | 0 | - | 
| $sites | array<string|int, mixed> | [] | - | 
| $pages | array<string|int, mixed> | [] | - | 
                 getPages()
            ¶
getPages()
            ¶
    
        
        SiteList.php
                :
        46
                 
    
        |  |  | 
Return values
array<string|int, mixed>
                 getSites()
            ¶
getSites()
            ¶
    
        
        SiteList.php
                :
        41
                 
    
        |  |  | 
Return values
array<string|int, mixed>
                 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>