@@ 1437-1439 (lines=3) @@ | ||
1434 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1435 | } |
|
1436 | ||
1437 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1438 | $mapping['association'] = self::REFERENCE_ONE; |
|
1439 | } |
|
1440 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1441 | $mapping['association'] = self::REFERENCE_MANY; |
|
1442 | } |
|
@@ 1440-1442 (lines=3) @@ | ||
1437 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1438 | $mapping['association'] = self::REFERENCE_ONE; |
|
1439 | } |
|
1440 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1441 | $mapping['association'] = self::REFERENCE_MANY; |
|
1442 | } |
|
1443 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1444 | $mapping['association'] = self::EMBED_ONE; |
|
1445 | } |