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