lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php 1 location
|
@@ 626-628 (lines=3) @@
|
| 623 |
|
} |
| 624 |
|
|
| 625 |
|
// Check for `fetch` |
| 626 |
|
if (isset($overrideElement['fetch'])) { |
| 627 |
|
$override['fetch'] = constant(Metadata::class . '::FETCH_' . (string) $overrideElement['fetch']); |
| 628 |
|
} |
| 629 |
|
|
| 630 |
|
$metadata->setAssociationOverride($fieldName, $override); |
| 631 |
|
} |
lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php 1 location
|
@@ 632-634 (lines=3) @@
|
| 629 |
|
} |
| 630 |
|
|
| 631 |
|
// Check for `fetch` |
| 632 |
|
if (isset($associationOverrideElement['fetch'])) { |
| 633 |
|
$override['fetch'] = constant(Metadata::class . '::FETCH_' . $associationOverrideElement['fetch']); |
| 634 |
|
} |
| 635 |
|
|
| 636 |
|
$metadata->setAssociationOverride($fieldName, $override); |
| 637 |
|
} |