@@ 1224-1226 (lines=3) @@ | ||
1221 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1222 | } |
|
1223 | ||
1224 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1225 | $mapping['association'] = self::REFERENCE_ONE; |
|
1226 | } |
|
1227 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1228 | $mapping['association'] = self::REFERENCE_MANY; |
|
1229 | } |
|
@@ 1227-1229 (lines=3) @@ | ||
1224 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1225 | $mapping['association'] = self::REFERENCE_ONE; |
|
1226 | } |
|
1227 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1228 | $mapping['association'] = self::REFERENCE_MANY; |
|
1229 | } |
|
1230 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1231 | $mapping['association'] = self::EMBED_ONE; |
|
1232 | } |