@@ 1372-1374 (lines=3) @@ | ||
1369 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1370 | } |
|
1371 | ||
1372 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1373 | $mapping['association'] = self::REFERENCE_ONE; |
|
1374 | } |
|
1375 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1376 | $mapping['association'] = self::REFERENCE_MANY; |
|
1377 | } |
|
@@ 1375-1377 (lines=3) @@ | ||
1372 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1373 | $mapping['association'] = self::REFERENCE_ONE; |
|
1374 | } |
|
1375 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1376 | $mapping['association'] = self::REFERENCE_MANY; |
|
1377 | } |
|
1378 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1379 | $mapping['association'] = self::EMBED_ONE; |
|
1380 | } |