Added iterface for Reader/Client.

It could use a better name.
This commit is contained in:
Gregory Oschwald
2013-10-02 06:54:03 -07:00
parent c584dbfd6b
commit 167433de0c
3 changed files with 38 additions and 2 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ use GeoIp2\Model\City;
use GeoIp2\Model\CityIspOrg;
use GeoIp2\Model\Country;
use GeoIp2\Model\Omni;
use GeoIp2\ProviderInterface;
use MaxMind\Db\Reader as DbReader;
/**
@@ -38,7 +39,7 @@ use MaxMind\Db\Reader as DbReader;
* will be thrown.
*
*/
class Reader
class Reader implements ProviderInterface
{
private $dbReader;
private $languages;