[2.0][DDC-503] Added missing IdGeneratorType.
This commit is contained in:
parent
3bb6184477
commit
b6f9cd0c07
@ -933,6 +933,9 @@ public function <methodName>()
|
|||||||
case ClassMetadataInfo::GENERATOR_TYPE_IDENTITY:
|
case ClassMetadataInfo::GENERATOR_TYPE_IDENTITY:
|
||||||
return 'IDENTITY';
|
return 'IDENTITY';
|
||||||
|
|
||||||
|
case ClassMetadataInfo::GENERATOR_TYPE_NONE:
|
||||||
|
return 'NONE';
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw new \InvalidArgumentException('Invalid provided IdGeneratorType: ' . $type);
|
throw new \InvalidArgumentException('Invalid provided IdGeneratorType: ' . $type);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user