|
@@ 1996-1998 (lines=3) @@
|
| 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 |
|
} |
| 1999 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 2000 |
|
$mapping['association'] = self::EMBED_MANY; |
| 2001 |
|
} |
|
@@ 1999-2001 (lines=3) @@
|
| 1996 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1997 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1998 |
|
} |
| 1999 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 2000 |
|
$mapping['association'] = self::EMBED_MANY; |
| 2001 |
|
} |
| 2002 |
|
|
| 2003 |
|
if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
| 2004 |
|
$mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |