Reader
Instances of this class provide a reader for the MaxMind DB format. IP addresses can be looked up using the get method.
Description Description
Source Source
File: vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php
Methods Methods
- __construct — Constructs a Reader for the MaxMind DB format. The file passed to it must be a valid MaxMind DB file such as a GeoIp2 database file.
- close — Closes the MaxMind DB and returns resources to the system.
- findAddressInTree
- findMetadataStart
- get — Retrieves the record for the IP address.
- getWithPrefixLen — Retrieves the record for the IP address and its associated network prefix length.
- ipV4StartNode
- metadata
- readNode
- resolveDataPointer