public function Reader::metadata in Smart IP 6.2
Same name in this branch
- 6.2 includes/vendor/geoip2/geoip2/src/Database/Reader.php \GeoIp2\Database\Reader::metadata()
- 6.2 includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php \MaxMind\Db\Reader::metadata()
Same name and namespace in other branches
- 7.2 includes/vendor/geoip2/geoip2/src/Database/Reader.php \GeoIp2\Database\Reader::metadata()
Return value
\MaxMind\Db\Reader\Metadata object for the database.
Throws
\InvalidArgumentException if arguments are passed to the method.
\BadMethodCallException if the database has been closed.
File
- includes/
vendor/ geoip2/ geoip2/ src/ Database/ Reader.php, line 234
Class
- Reader
- Instances of this class provide a reader for the GeoIP2 database format. IP addresses can be looked up using the database specific methods.
Namespace
GeoIp2\DatabaseCode
public function metadata() {
return $this->dbReader
->metadata();
}