private function normalizeField($field)
    {
        $properties = explode('.', $field);

        foreach ($properties as &$property) {
            if (substr($property, 0, strlen('get')) == 'get') {
                $property = substr($property, strlen('get'));
                $property = lcfirst($property);
            }
        }

        return implode('.', $properties);
    }
private function normalizeField($field)
    {
        $properties = explode('.', $field);

        foreach ($properties as &$property) {
            if (substr($property, 0, strlen('get')) == 'get') {
                $property = substr($property, strlen('get'));
                $property = lcfirst($property);
            }
        }

        return implode('.', $properties);
    }
private function normalizeField ( $ field ) { $ properties = explode ( '.' , $ field ) ; foreach ( $ properties as & $ property ) { if ( substr ( $ property , 0 , strlen ( 'get' ) ) == 'get' ) { $ property = substr ( $ property , strlen ( 'get' ) ) ; $ property = lcfirst ( $ property ) ; } } return implode ( '.' , $ properties ) ; }
Converts anemic getter functions into property names

@param string $field        The field

@return string
Converts anemic getter functions into property names