diff --git a/src/GeoIp2/Database/Reader.php b/src/GeoIp2/Database/Reader.php index 1b0f88f..31ee3c2 100644 --- a/src/GeoIp2/Database/Reader.php +++ b/src/GeoIp2/Database/Reader.php @@ -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; diff --git a/src/GeoIp2/ProviderInterface.php b/src/GeoIp2/ProviderInterface.php new file mode 100644 index 0000000..ed2f34e --- /dev/null +++ b/src/GeoIp2/ProviderInterface.php @@ -0,0 +1,34 @@ +