@@ 1340-1342 (lines=3) @@ | ||
1337 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1338 | } |
|
1339 | ||
1340 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1341 | $mapping['association'] = self::REFERENCE_ONE; |
|
1342 | } |
|
1343 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1344 | $mapping['association'] = self::REFERENCE_MANY; |
|
1345 | } |
|
@@ 1343-1345 (lines=3) @@ | ||
1340 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1341 | $mapping['association'] = self::REFERENCE_ONE; |
|
1342 | } |
|
1343 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1344 | $mapping['association'] = self::REFERENCE_MANY; |
|
1345 | } |
|
1346 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1347 | $mapping['association'] = self::EMBED_ONE; |
|
1348 | } |