Location
class Location implements JsonSerializable
The Location class encodes a geographic Location based on latitude and longitude.
Methods
                    __construct(float $latitude, float $longitude)
        
                                            
                
            No description
                    float
                
                
                    getLatitude()
        
                                            
                
            Returns the latitude.
                    float
                
                
                    getLongitude()
        
                                            
                
            Returns the longitude.
                    object
                
                
                    jsonSerialize()
        
                                            
                
            Returns an object to be used by json_encode to serialize objects of this class.
                    string
                
                
                    queryStringFormatted()
        
                                            
                
            Format the encoded value as required by the Contentful API.
Details
        at         line 31
                            
    __construct(float $latitude, float $longitude)
        
    
    
        at         line 42
                            float
    getLatitude()
        
    
    Returns the latitude.
        at         line 52
                            float
    getLongitude()
        
    
    Returns the longitude.
        at         line 64
                            object
    jsonSerialize()
        
    
    Returns an object to be used by json_encode to serialize objects of this class.
        at         line 74
                            string
    queryStringFormatted()
        
    
    Format the encoded value as required by the Contentful API.