PHP Class Doctrine\ODM\MongoDB\Id\AbstractIdGenerator

Since: 1.0
Afficher le fichier Open project: pmjones/php-framework-benchmarks

Protected Properties

Свойство Type Description
$class Doctrine\ODM\MongoDB\Mapping\ClassMetadata The ClassMetadataInstance for this id generator instance.

Méthodes publiques

Méthode Description
__construct ( ClassMetadata $class ) Constructs a new id generator instance.
generate ( DocumentManager $dm, Doctrine\ORM\Document $document ) : mixed Generates an identifier for a document.

Method Details

__construct() public méthode

Constructs a new id generator instance.
public __construct ( ClassMetadata $class )
$class Doctrine\ODM\MongoDB\Mapping\ClassMetadata

generate() abstract public méthode

Generates an identifier for a document.
abstract public generate ( DocumentManager $dm, Doctrine\ORM\Document $document ) : mixed
$dm Doctrine\ODM\MongoDB\DocumentManager
$document Doctrine\ORM\Document
Résultat mixed

Property Details

$class protected_oe property

The ClassMetadataInstance for this id generator instance.
protected ClassMetadata,Doctrine\ODM\MongoDB\Mapping $class
Résultat Doctrine\ODM\MongoDB\Mapping\ClassMetadata