use Symfony\Component\DependencyInjection\ContainerInterface;
7
8
class MaxmindLookupAdapter implements GeoIpLookupAdapterInterface
9
{
10
protected $geoip = null;
11
12
1
public function __construct(ContainerInterface $container)
13
{
14
1
if (!$container->hasParameter('maxmind_geoip_data_file_path')) {
15
1
throw new \InvalidArgumentException("It seems, the MaxmindGeoIP-Bundle is not installed. The parameter 'maxmind_geoip_data_file_path' is not defined.");