trait IdGeneratorTypeClassnameTrait (View source)

Id generator related method for ClassMetadata implementations.

Properties

$idGenerator ID generator-compatible class
array $customGeneratorDefinition

Methods

setIdGeneratorType(string|IdGeneratorInterface $type)

No description

setCustomGeneratorDefinition(array $definition)

No description

Details

setIdGeneratorType(string|IdGeneratorInterface $type)

Parameters

string|IdGeneratorInterface $type ID generator type , class nmme or short name

Exceptions

InvalidArgumentException

setCustomGeneratorDefinition(array $definition)

Parameters

array $definition Custom ID generator descriptor