Added iterface for Reader/Client.
It could use a better name.
This commit is contained in:
1 parent
c584dbfd6b
commit
167433de0c
3 files changed
+38
-2
No files matched your search
@@ -12,6 +12,7 @@ use GeoIp2\Model\City;
|
||||
use GeoIp2\Model\CityIspOrg;
|
||||
use GeoIp2\Model\Country;
|
||||
use GeoIp2\Model\Omni;
|
||||
use GeoIp2\ProviderInterface;
|
||||
use Guzzle\Http\Client as GuzzleClient;
|
||||
use Guzzle\Common\Exception\RuntimeException;
|
||||
use Guzzle\Http\Exception\ClientErrorResponseException;
|
||||
@@ -48,7 +49,7 @@ use Guzzle\Http\Exception\ServerErrorResponseException;
|
||||
*
|
||||
* If the request fails, the client class throws an exception.
|
||||
*/
|
||||
class Client
|
||||
class Client implements ProviderInterface
|
||||
{
|
||||
private $userId;
|
||||
private $licenseKey;
|
||||
|
||||
Reference in new issue
Block a user