lib/Doctrine/ORM/Tools/Export/Driver/YamlExporter.php 1 location
|
@@ 113-115 (lines=3) @@
|
110 |
|
$fieldMappings[$name] = $fieldMapping; |
111 |
|
} |
112 |
|
|
113 |
|
if ( ! $metadata->isIdentifierComposite && $idGeneratorType = $this->_getIdGeneratorTypeString($metadata->generatorType)) { |
114 |
|
$ids[$metadata->getSingleIdentifierFieldName()]['generator']['strategy'] = $idGeneratorType; |
115 |
|
} |
116 |
|
|
117 |
|
$array['id'] = $ids; |
118 |
|
|
lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php 1 location
|
@@ 147-149 (lines=3) @@
|
144 |
|
} |
145 |
|
} |
146 |
|
|
147 |
|
if ( ! $metadata->isIdentifierComposite && $idGeneratorType = $this->_getIdGeneratorTypeString($metadata->generatorType)) { |
148 |
|
$id[$metadata->getSingleIdentifierFieldName()]['generator']['strategy'] = $idGeneratorType; |
149 |
|
} |
150 |
|
|
151 |
|
if ($id) { |
152 |
|
foreach ($id as $field) { |