Returns a type name of this field.
This type names can be implementation specific but should at least include the php types: integer, string, boolean, float/double, datetime.
string $fieldName:
string
Overrides ClassMetadata::getTypeOfField
public function getTypeOfField($fieldName) {
$types = array(
'id' => 'integer',
'name' => 'string',
);
return $types[$fieldName];
}