The base class for all value objects and structs.
Properties¶
                
        $pages
            ¶
    
        
        SiteList.php
                :
        27
                
    
        | 
                     | 
                
                    
                     | 
            
                
        $sites
            ¶
    
        
        SiteList.php
                :
        26
                
    
        | 
                     | 
                
                    
                     | 
            
                
        $totalCount
            ¶
    
        
        SiteList.php
                :
        25
                
    
        | 
                     | 
                
                    
                     | 
            
Methods¶
                
__construct()
            ¶
    
        
        SiteList.php
                :
        24
                
    
        Construct object optionally with a set of properties.
| 
                     | 
                
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $totalCount | int | 0 | 
                                                         The total count of found sites  | 
                
| $sites | array<int, Site> | [] | - | 
| $pages | array<int, Page> | [] | - | 
                
getPages()
            ¶
    
        
        SiteList.php
                :
        43
                
    
        | 
                     | 
                
                    
                     | 
            
Return values
array<int, Page>
                
getSites()
            ¶
    
        
        SiteList.php
                :
        35
                
    
        | 
                     | 
                
                    
                     | 
            
Return values
array<int, Site>
                
getProperties()
            ¶
    
        
        ValueObject.php
                :
        53
                
    
        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]