# Class NominatimGeocodeCache

Used to facilitate communication and caching between the client and the Nominatim Geocoding service

Namespace: WPGMZA
Located at open-layers/class.nominatim-geocode-cache.php

Methods summary
`public` | # `__construct( )` Constructor. Constructor.
`public object|null` | # `get( string $query )` Returns the cached result from the local geocode cache Returns the cached result from the local geocode cache #### Parameters $query The address being queried #### Returns object|null The cached geocode result, or null where no result is found
`public` | # `set( string $query, string $response )` Caches the supplied response, from the supplied query Caches the supplied response, from the supplied query #### Parameters $query The queried address $response The returned response to cache