src/Mapper/Relation/AbstractRelation.php
protected function normalizeFieldName($tableName)
    {
        $tableName = Text::camelCaseToSeparator($tableName, '#');
        $parts = explode('#', $tableName);
        $lastName = array_pop($parts);
        $lastName = Text::singular(strtolower($lastName));
        array_push($parts, ucfirst($lastName));
        return lcfirst(implode('', $parts));
    }
protected function normalizeFieldName($tableName)
    {
        $tableName = Text::camelCaseToSeparator($tableName, '#');
        $parts = explode('#', $tableName);
        $lastName = array_pop($parts);
        $lastName = Text::singular(strtolower($lastName));
        array_push($parts, ucfirst($lastName));
        return lcfirst(implode('', $parts));
    }
protected function normalizeFieldName ( $ tableName ) { $ tableName = Text :: camelCaseToSeparator ( $ tableName , '#' ) ; $ parts = explode ( '#' , $ tableName ) ; $ lastName = array_pop ( $ parts ) ; $ lastName = Text :: singular ( strtolower ( $ lastName ) ) ; array_push ( $ parts , ucfirst ( $ lastName ) ) ; return lcfirst ( implode ( '' , $ parts ) ) ; }
Normalizes the key field by convention

@param string $tableName
@return string
Normalizes the key field by convention