Conditions | 3 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
85 | public function getDatabaseFieldName(string $tableName, string $propertyName): string |
||
86 | { |
||
87 | if (isset($this->coreCamelCaseField[$tableName]) && in_array($propertyName, $this->coreCamelCaseField[$tableName])) { |
||
88 | return $propertyName; |
||
89 | } |
||
90 | return GeneralUtility::camelCaseToLowerCaseUnderscored($propertyName); |
||
91 | } |
||
92 | |||
94 |