class AutoGenerator extends AbstractIdGenerator (View source)

AutoGenerator generates a native ObjectId

Methods

mixed
generate(DocumentManager $dm, object $document)

No description

Details

mixed generate(DocumentManager $dm, object $document)

Parameters

DocumentManager $dm
object $document

Return Value

mixed