ContentFieldMapper
        ContentFieldMapper.php
                :
        17
                
    
                                        Abstract
        
        
        
                Base class for Content document field mapper.
Content document field mapper maps Content to the search fields for Content document.
Methods¶
                
accept()
            ¶
    
        
        ContentFieldMapper.php
                :
        22
                
    
        Indicates if the mapper accepts the given $content for mapping.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $content | Content | - | - | 
Return values
bool
                
mapFields()
            ¶
    
        
        ContentFieldMapper.php
                :
        29
                
    
        Maps given $content to an array of search fields.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $content | Content | - | - | 
Return values
array<int, Field>