public function setResults(array $results)
    {
        $this->results = array();

        foreach ($results as $result) {
            $this->addResult($result);
        }
    }
public function setResults(array $results)
    {
        $this->results = array();

        foreach ($results as $result) {
            $this->addResult($result);
        }
    }
public function setResults ( array $ results ) { $ this -> results = array ( ) ; foreach ( $ results as $ result ) { $ this -> addResult ( $ result ) ; } }
Sets the geocoder results

@param array $results The geocoder results.
Sets the geocoder results