Class:TableGenerator - Superclass: AbstractIdGenerator AbstractIdGenerator
⌊ TableGenerator
public class TableGenerator
extends AbstractIdGenerator
www.doctrine-project.org
Constructor Summary | |
---|---|
TableGenerator(mixed tableName, mixed sequenceName, mixed allocationSize) |
Method Summary | |
---|---|
mixed | generate(mixed em, Doctrine\ORM\Entity entity) Generates an identifier for an entity. |
Methods inherited from Doctrine\ORM\Id\AbstractIdGenerator | |
---|---|
generate, isPostInsertGenerator |
public TableGenerator(mixed tableName, mixed sequenceName, mixed allocationSize)
public mixed generate(mixed em, Doctrine\ORM\Entity entity)
Generates an identifier for an entity.
Id generator that uses a single-row database table and a hi/lo algorithm.