src/Dlin/Geocoder/Geocoder.php
public function forward($address, $countryCode=null){
        $attempt = 0;


        while( $this->getCurrentGeocoding() && $attempt <= count($this->sourceConfig)){
            if($parsedAddress =  $this->getCurrentGeocoding()->forward($address, $countryCode)){
                return $parsedAddress;
            }else{
                $this->setCurrentGeocoding($this->getNextGeocoding());
            }
            $attempt++;
        }
        return null;
    }
public function forward($address, $countryCode=null){
        $attempt = 0;


        while( $this->getCurrentGeocoding() && $attempt <= count($this->sourceConfig)){
            if($parsedAddress =  $this->getCurrentGeocoding()->forward($address, $countryCode)){
                return $parsedAddress;
            }else{
                $this->setCurrentGeocoding($this->getNextGeocoding());
            }
            $attempt++;
        }
        return null;
    }
public function forward ( $ address , $ countryCode = null ) { $ attempt = 0 ; while ( $ this -> getCurrentGeocoding ( ) && $ attempt <= count ( $ this -> sourceConfig ) ) { if ( $ parsedAddress = $ this -> getCurrentGeocoding ( ) -> forward ( $ address , $ countryCode ) ) { return $ parsedAddress ; } else { $ this -> setCurrentGeocoding ( $ this -> getNextGeocoding ( ) ) ; } $ attempt ++ ; } return null ; }
Forward Geocoding is the process of taking a given location in address format and returning the
closes known coordinates to the address provided. The address can be a country, county, city,
state, zip code, street address, or any combination of these.

@param $address
@param $countryCode, optional country code (e.g. AU) to improve the accuracy for Google
@return GeoAddress
Forward Geocoding is the process of taking a given location in address format and returning the closes known coordinates to the address provided . The address can be a country county city state zip code street address or any combination of these .