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