@@ 1164-1166 (lines=3) @@ | ||
1161 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1162 | } |
|
1163 | ||
1164 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1165 | $mapping['association'] = self::REFERENCE_ONE; |
|
1166 | } |
|
1167 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1168 | $mapping['association'] = self::REFERENCE_MANY; |
|
1169 | } |
|
@@ 1167-1169 (lines=3) @@ | ||
1164 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1165 | $mapping['association'] = self::REFERENCE_ONE; |
|
1166 | } |
|
1167 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1168 | $mapping['association'] = self::REFERENCE_MANY; |
|
1169 | } |
|
1170 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1171 | $mapping['association'] = self::EMBED_ONE; |
|
1172 | } |