private function AbstractRecord::attributeToKey in Smart IP 7.2
Same name and namespace in other branches
- 6.2 includes/vendor/geoip2/geoip2/src/Record/AbstractRecord.php \GeoIp2\Record\AbstractRecord::attributeToKey()
1 call to AbstractRecord::attributeToKey()
- AbstractRecord::__get in includes/
vendor/ geoip2/ geoip2/ src/ Record/ AbstractRecord.php - @ignore
File
- includes/
vendor/ geoip2/ geoip2/ src/ Record/ AbstractRecord.php, line 46
Class
Namespace
GeoIp2\RecordCode
private function attributeToKey($attr) {
return strtolower(preg_replace('/([A-Z])/', '_\\1', $attr));
}