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
                
                
                    
                                                
                                                    
                                |  | @@ 627-629 (lines=3) @@ | 
                                                            
                                    | 624 |  |                 } | 
                                                            
                                    | 625 |  |  | 
                                                            
                                    | 626 |  |                 // Check for `fetch` | 
                                                            
                                    | 627 |  |                 if (isset($associationOverrideElement['fetch'])) { | 
                                                            
                                    | 628 |  |                     $override['fetch'] = constant(Metadata::class . '::FETCH_' . $associationOverrideElement['fetch']); | 
                                                            
                                    | 629 |  |                 } | 
                                                            
                                    | 630 |  |  | 
                                                            
                                    | 631 |  |                 $metadata->setAssociationOverride($fieldName, $override); | 
                                                            
                                    | 632 |  |             } |