|  | @@ 708-712 (lines=5) @@ | 
                                                            
                                    | 705 |  |  | 
                                                            
                                    | 706 |  |         // Complete id mapping | 
                                                            
                                    | 707 |  |         if (isset($mapping['id']) && $mapping['id'] === true) { | 
                                                            
                                    | 708 |  |             if (isset($mapping['orphanRemoval']) && $mapping['orphanRemoval'] == true) { | 
                                                            
                                    | 709 |  |                 throw new MappingException( | 
                                                            
                                    | 710 |  |                     sprintf('Illegal orphanRemoval on identifier association %s for %s', $mapping['field'], $this->name) | 
                                                            
                                    | 711 |  |                 ); | 
                                                            
                                    | 712 |  |             } | 
                                                            
                                    | 713 |  |  | 
                                                            
                                    | 714 |  |             if (!in_array($mapping['field'], $this->identifier, true)) { | 
                                                            
                                    | 715 |  |                 $this->identifier[]              = $mapping['field']; | 
                                                                                
                                |  | @@ 730-734 (lines=5) @@ | 
                                                            
                                    | 727 |  |             $mapping['isOwningSide'] = false; | 
                                                            
                                    | 728 |  |         } | 
                                                            
                                    | 729 |  |  | 
                                                            
                                    | 730 |  |         if (isset($mapping['id']) && $mapping['id'] === true && $mapping['type'] & self::TO_MANY) { | 
                                                            
                                    | 731 |  |             throw new MappingException( | 
                                                            
                                    | 732 |  |                 sprintf('Illegal toMany identifier association %s for %s', $mapping['field'], $this->name) | 
                                                            
                                    | 733 |  |             ); | 
                                                            
                                    | 734 |  |         } | 
                                                            
                                    | 735 |  |  | 
                                                            
                                    | 736 |  |         // Fetch mode. Default fetch mode to LAZY, if not set. | 
                                                            
                                    | 737 |  |         if (!isset($mapping['fetch'])) { |