@@ 1309-1311 (lines=3) @@ | ||
1306 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1307 | } |
|
1308 | ||
1309 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1310 | $mapping['association'] = self::REFERENCE_ONE; |
|
1311 | } |
|
1312 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1313 | $mapping['association'] = self::REFERENCE_MANY; |
|
1314 | } |
|
@@ 1312-1314 (lines=3) @@ | ||
1309 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1310 | $mapping['association'] = self::REFERENCE_ONE; |
|
1311 | } |
|
1312 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1313 | $mapping['association'] = self::REFERENCE_MANY; |
|
1314 | } |
|
1315 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1316 | $mapping['association'] = self::EMBED_ONE; |
|
1317 | } |