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