You are here

public function AbstractPlaceRecord::__get in Smart IP 7.2

Same name and namespace in other branches
  1. 6.2 includes/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php \GeoIp2\Record\AbstractPlaceRecord::__get()

@ignore

Overrides AbstractRecord::__get

File

includes/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php, line 21

Class

AbstractPlaceRecord

Namespace

GeoIp2\Record

Code

public function __get($attr) {
  if ($attr == 'name') {
    return $this
      ->name();
  }
  else {
    return parent::__get($attr);
  }
}