You are here

public function Reader::close in Smart IP 7.2

Same name in this branch
  1. 7.2 includes/vendor/geoip2/geoip2/src/Database/Reader.php \GeoIp2\Database\Reader::close()
  2. 7.2 includes/vendor/maxmind-db/reader/src/MaxMind/Db/Reader.php \MaxMind\Db\Reader::close()
Same name and namespace in other branches
  1. 6.2 includes/vendor/geoip2/geoip2/src/Database/Reader.php \GeoIp2\Database\Reader::close()

Closes the GeoIP2 database and returns the resources to the system.

File

includes/vendor/geoip2/geoip2/src/Database/Reader.php, line 242

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\Database

Code

public function close() {
  $this->dbReader
    ->close();
}