Méthode | Description | |
---|---|---|
__construct ( |
Creates a new factory instance that uses the given DocumentManager instance. | |
getAllMetadata ( ) : array | Forces the factory to load the metadata of all classes known to the underlying mapping driver. | |
getMetadataFor ( string $className ) : |
Gets the class metadata descriptor for a class. |
Méthode | Description | |
---|---|---|
doLoadMetadata ( $class, $parent, $rootEntityFound, array $nonSuperclassParents ) | ||
getDriver ( ) | ||
getFqcnFromAlias ( $namespaceAlias, $simpleClassName ) | ||
initialize ( ) | ||
initializeReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService ) | ||
isEntity ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) | {@inheritDoc} | |
loadMetadata ( string $className ) : array | Loads the metadata of the class in question and all it's ancestors whose metadata is still not loaded. | |
newClassMetadataInstance ( string $className ) : |
Creates a new ClassMetadata instance for the given class name. | |
wakeupReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService ) |
Méthode | Description | |
---|---|---|
addAssociationsMapping ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ClassMetadata $parent ) | ||
addFieldMapping ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ClassMetadata $parent ) | ||
addIndexes ( |
||
validateMapping ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) | Check for any possible shortcomings in the class: |
public __construct ( |
||
$dm | The DocumentManager instance |
protected doLoadMetadata ( $class, $parent, $rootEntityFound, array $nonSuperclassParents ) | ||
$nonSuperclassParents | array |
public getAllMetadata ( ) : array | ||
Résultat | array | The ClassMetadata instances of all mapped classes. |
protected getFqcnFromAlias ( $namespaceAlias, $simpleClassName ) |
public getMetadataFor ( string $className ) : |
||
$className | string | The name of the class. |
Résultat |
protected initializeReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService ) | ||
$class | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
$reflService | Doctrine\Common\Persistence\Mapping\ReflectionService |
protected isEntity ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) | ||
$class | Doctrine\Common\Persistence\Mapping\ClassMetadata |
protected loadMetadata ( string $className ) : array | ||
$className | string | The name of the class for which the metadata should get loaded. |
Résultat | array |
protected newClassMetadataInstance ( string $className ) : |
||
$className | string | |
Résultat |
protected wakeupReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService ) | ||
$class | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
$reflService | Doctrine\Common\Persistence\Mapping\ReflectionService |