willdurand/Geocoder — Issue #13: Add a result object
Author: willdurand
Created: 2011-11-19 13:49:59+00:00
State: open

The `->geocode()` method should return an object, which implements the `ArrayAccessInterface` and has two methods : `fromArray()`, `toArray()`.

We can name this object `Result\Geocoded` and we can do the same for the `reverse()` method (`Result\Reversed`).

There is nothing to invent as we just have to move the code in the `Geocoder class.

cc @themouette

William