|  | @@ 214-216 (lines=3) @@ | 
                                                            
                                    | 211 |  | 				} | 
                                                            
                                    | 212 |  |  | 
                                                            
                                    | 213 |  | 				if ($metadata->hasField($field)) { | 
                                                            
                                    | 214 |  | 					if (!$this->isValidField($metadata, $field) && $this->configuration->useLazyAssociation() === FALSE) { | 
                                                            
                                    | 215 |  | 						throw new Exceptions\InvalidMappingException("Field - [{$field}] type is not valid and must be 'string' or a one-to-many relation in class - {$metadata->getName()}"); | 
                                                            
                                    | 216 |  | 					} | 
                                                            
                                    | 217 |  |  | 
                                                            
                                    | 218 |  | 				} else if ($metadata->hasAssociation($field)) { | 
                                                            
                                    | 219 |  | 					// association | 
                                                                                
                                |  | @@ 220-222 (lines=3) @@ | 
                                                            
                                    | 217 |  |  | 
                                                            
                                    | 218 |  | 				} else if ($metadata->hasAssociation($field)) { | 
                                                            
                                    | 219 |  | 					// association | 
                                                            
                                    | 220 |  | 					if ($metadata->isSingleValuedAssociation($field) === FALSE && $this->configuration->useLazyAssociation() === FALSE) { | 
                                                            
                                    | 221 |  | 						throw new Exceptions\InvalidMappingException("Association - [{$field}] is not valid, it must be a one-to-many relation or a string field - {$metadata->getName()}"); | 
                                                            
                                    | 222 |  | 					} | 
                                                            
                                    | 223 |  | 				} | 
                                                            
                                    | 224 |  |  | 
                                                            
                                    | 225 |  | 				// Check for valid events |