@@ 1398-1400 (lines=3) @@ | ||
1395 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1396 | } |
|
1397 | ||
1398 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1399 | $mapping['association'] = self::REFERENCE_ONE; |
|
1400 | } |
|
1401 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1402 | $mapping['association'] = self::REFERENCE_MANY; |
|
1403 | } |
|
@@ 1401-1403 (lines=3) @@ | ||
1398 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1399 | $mapping['association'] = self::REFERENCE_ONE; |
|
1400 | } |
|
1401 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1402 | $mapping['association'] = self::REFERENCE_MANY; |
|
1403 | } |
|
1404 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1405 | $mapping['association'] = self::EMBED_ONE; |
|
1406 | } |