You are here

private function AbstractRecord::attributeToKey in Smart IP 6.2

Same name and namespace in other branches
  1. 7.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

AbstractRecord

Namespace

GeoIp2\Record

Code

private function attributeToKey($attr) {
  return strtolower(preg_replace('/([A-Z])/', '_\\1', $attr));
}