GenericClassMetadataFactory
class GenericClassMetadataFactory extends AbstractClassMetadataFactory implements MappingDriverProviderInterface, ClassMetadataAwareInterface (View source)
Default implementation of a metadata factory based on Mapping driver
Methods
__construct(MappingDriver $driver = null)
No description
isEntity(ClassMetadata $class)
No description
initializeReflection(ClassMetadata $class, ReflectionService $reflService)
No description
getDriver()
No description
doLoadMetadata(ClassMetadata $class, ClassMetadata|null $parent, bool $rootEntityFound, array $nonSuperclassParents)
No description
copyParentMetadata(ClassMetadata $class, ClassMetadata|null $parent)
Initialize class metadata by copying parent class metadata properties
finalizeMetadataRuntimeLoading(ClassMetadata $class, ClassMetadata|null $parent, bool $rootEntityFound, array $nonSuperclassParents)
Class metadata loading post-processing
validateRuntimeMetadata(ClassMetadata $class, ClassMetadata $parent = null)
No description
initialize()
No description
wakeupReflection(ClassMetadata $class, ReflectionService $reflService)
No description
setMetadataClass(string $class)
No description
setMappingDriver(MappingDriver $mappingDriver)
No description
newClassMetadataInstance(string $className)
No description
MappingDriver
getMappingDriver()
No description
setCacheRegion($region)
No description
Details
at line 31
__construct(MappingDriver $driver = null)
at line 38
protected
isEntity(ClassMetadata $class)
at line 45
protected
initializeReflection(ClassMetadata $class, ReflectionService $reflService)
at line 53
protected
getDriver()
at line 58
protected
doLoadMetadata(ClassMetadata $class, ClassMetadata|null $parent, bool $rootEntityFound, array $nonSuperclassParents)
at line 80
protected
copyParentMetadata(ClassMetadata $class, ClassMetadata|null $parent)
Initialize class metadata by copying parent class metadata properties
at line 155
protected
finalizeMetadataRuntimeLoading(ClassMetadata $class, ClassMetadata|null $parent, bool $rootEntityFound, array $nonSuperclassParents)
Class metadata loading post-processing