willdurand/GeocodableBehavior — pull request #13 by havvg (2012-08-13 13:45:04+00:00)
Title: add more extension points for child classes

Those methods allow to customize the object without necessarily overwriting the complete `geocode` method.

For example, this is now possible (`Zipcode`, `City`, `Region`, `Country` being related objects):

```php
getStreet();
$parts['zipcode'] = (string) $this->getZipcode();
$parts['city'] = (string) $this->getCity();
$parts['region'] = (string) $this->getRegion();
$parts['country'] = (string) $this->getCountry();

return $parts;
}
}
```