abstract class IdGenerator (View source)

Used to abstract ID generation

Methods

static IdGenerator
create(int $generatorType)

No description

generate(object $document, ClassMetadata $cm, DocumentManager $dm)

No description

Details

static IdGenerator create(int $generatorType)

Parameters

int $generatorType

Return Value

IdGenerator

Exceptions

Exception

abstract generate(object $document, ClassMetadata $cm, DocumentManager $dm)

Parameters

object $document
ClassMetadata $cm
DocumentManager $dm