Doctrine


Doctrine\ORM\Id\AssignedGenerator
/Doctrine/ORM/Id/AssignedGenerator.php at line 39

Class AssignedGenerator

Class:AssignedGenerator - Superclass: AbstractIdGenerator
AbstractIdGenerator
⌊ AssignedGenerator

public class AssignedGenerator
extends AbstractIdGenerator

Special generator for application-assigned identifiers (doesnt really generate anything).

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
2.0
Version:
$Revision$
Author:
Benjamin Eberlei
Guilherme Blanco
Jonathan Wage
Roman Borschel

Method Summary
mixed

generate(mixed em, object entity)

Returns the identifier assigned to the given entity.

Methods inherited from Doctrine\ORM\Id\AbstractIdGenerator
generate, isPostInsertGenerator

Method Detail

/Doctrine/ORM/Id/AssignedGenerator.php at line 48

generate

public mixed generate(mixed em, object entity)

Returns the identifier assigned to the given entity.

Override.

Doctrine