src/FilterSetting/Perimetersearch.php
protected function addToCache($address, $country, $result)
    {
        $this->connection->insert(
            'tl_metamodel_perimetersearch',
            [
                $this->connection->quoteIdentifier('search')   => $address,
                $this->connection->quoteIdentifier('country')  => $country,
                $this->connection->quoteIdentifier('geo_lat')  => $result->getLatitude(),
                $this->connection->quoteIdentifier('geo_long') => $result->getLongitude()
            ]
        );
    }
protected function addToCache($address, $country, $result)
    {
        $this->connection->insert(
            'tl_metamodel_perimetersearch',
            [
                $this->connection->quoteIdentifier('search')   => $address,
                $this->connection->quoteIdentifier('country')  => $country,
                $this->connection->quoteIdentifier('geo_lat')  => $result->getLatitude(),
                $this->connection->quoteIdentifier('geo_long') => $result->getLongitude()
            ]
        );
    }
protected function addToCache ( $ address , $ country , $ result ) { $ this -> connection -> insert ( 'tl_metamodel_perimetersearch' , [ $ this -> connection -> quoteIdentifier ( 'search' ) => $ address , $ this -> connection -> quoteIdentifier ( 'country' ) => $ country , $ this -> connection -> quoteIdentifier ( 'geo_lat' ) => $ result -> getLatitude ( ) , $ this -> connection -> quoteIdentifier ( 'geo_long' ) => $ result -> getLongitude ( ) ] ) ; }
Add data to the cache.

@param string    $address The address which where use for the search.
@param string    $country The country.
@param Container $result  The container with all information.

@return void

@throws \Doctrine\DBAL\DBALException When insert fails.
Add data to the cache .