/** * @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; }