mappingNotFound() public static method

public static mappingNotFound ( $className, $fieldName )
Example #1
0
 /**
  * @param string $fieldName
  * @return boolean
  *
  */
 public function isNullable($fieldName)
 {
     if (!isset($this->fieldMappings[$fieldName])) {
         throw MappingException::mappingNotFound($this->name, $fieldName);
     }
     return $this->fieldMappings[$fieldName]['nullable'] ? true : false;
 }