|
@@ 1990-1992 (lines=3) @@
|
| 1987 |
|
throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
| 1988 |
|
} |
| 1989 |
|
|
| 1990 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1991 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1992 |
|
} |
| 1993 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1994 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1995 |
|
} |
|
@@ 1993-1995 (lines=3) @@
|
| 1990 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1991 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1992 |
|
} |
| 1993 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1994 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1995 |
|
} |
| 1996 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1997 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1998 |
|
} |