[AUTOGENERATED] Update autogenerated code

This commit is contained in:
2021-05-05 16:03:03 +00:00
parent 10c79bcafe
commit d31c3b1784
47 changed files with 228 additions and 176 deletions

View File

@@ -56,7 +56,8 @@ abstract class DB
private static array $table_map = [];
public static function initTableMap()
{
foreach (self::$em->getMetadataFactory()->getAllMetadata() as $meta) {
$all = self::$em->getMetadataFactory()->getAllMetadata();
foreach ($all as $meta) {
self::$table_map[$meta->getTableName()] = $meta->getMetadataValue('name');
}
}