|
@@ 1335-1337 (lines=3) @@
|
| 1332 |
|
throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
| 1333 |
|
} |
| 1334 |
|
|
| 1335 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1336 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1337 |
|
} |
| 1338 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1339 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1340 |
|
} |
|
@@ 1338-1340 (lines=3) @@
|
| 1335 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1336 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1337 |
|
} |
| 1338 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1339 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1340 |
|
} |
| 1341 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1342 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1343 |
|
} |