PHP Class Ramsey\Uuid\Doctrine\UuidGenerator
显示文件
Open project: ramsey/uuid-doctrine
Public Methods
Method |
Description |
|
generate ( EntityManager $em, Doctrine\ORM\Mapping\Entity $entity ) : Ramsey\Uuid\Uuid |
Generate an identifier |
|
Method Details
public generate ( EntityManager $em, Doctrine\ORM\Mapping\Entity $entity ) : Ramsey\Uuid\Uuid |
$em |
Doctrine\ORM\EntityManager |
|
$entity |
Doctrine\ORM\Mapping\Entity |
|
return |
Ramsey\Uuid\Uuid |
|