@@ 1217-1219 (lines=3) @@ | ||
1214 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1215 | } |
|
1216 | ||
1217 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1218 | $mapping['association'] = self::REFERENCE_ONE; |
|
1219 | } |
|
1220 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1221 | $mapping['association'] = self::REFERENCE_MANY; |
|
1222 | } |
|
@@ 1220-1222 (lines=3) @@ | ||
1217 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1218 | $mapping['association'] = self::REFERENCE_ONE; |
|
1219 | } |
|
1220 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1221 | $mapping['association'] = self::REFERENCE_MANY; |
|
1222 | } |
|
1223 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1224 | $mapping['association'] = self::EMBED_ONE; |
|
1225 | } |