public function AbstractPlaceRecord::__get in Smart IP 6.2
Same name and namespace in other branches
- 7.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
Namespace
GeoIp2\RecordCode
public function __get($attr) {
if ($attr == 'name') {
return $this
->name();
}
else {
return parent::__get($attr);
}
}