@@ 1421-1423 (lines=3) @@ | ||
1418 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1419 | } |
|
1420 | ||
1421 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1422 | $mapping['association'] = self::REFERENCE_ONE; |
|
1423 | } |
|
1424 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1425 | $mapping['association'] = self::REFERENCE_MANY; |
|
1426 | } |
|
@@ 1424-1426 (lines=3) @@ | ||
1421 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1422 | $mapping['association'] = self::REFERENCE_ONE; |
|
1423 | } |
|
1424 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1425 | $mapping['association'] = self::REFERENCE_MANY; |
|
1426 | } |
|
1427 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1428 | $mapping['association'] = self::EMBED_ONE; |
|
1429 | } |