@@ 1197-1199 (lines=3) @@ | ||
1194 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1195 | } |
|
1196 | ||
1197 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1198 | $mapping['association'] = self::REFERENCE_ONE; |
|
1199 | } |
|
1200 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1201 | $mapping['association'] = self::REFERENCE_MANY; |
|
1202 | } |
|
@@ 1200-1202 (lines=3) @@ | ||
1197 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1198 | $mapping['association'] = self::REFERENCE_ONE; |
|
1199 | } |
|
1200 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1201 | $mapping['association'] = self::REFERENCE_MANY; |
|
1202 | } |
|
1203 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1204 | $mapping['association'] = self::EMBED_ONE; |
|
1205 | } |