Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Doctrine
ODM
PHPCR
Mapping
ClassMetadata
__construct
Doctrine\ODM\PHPCR\Mapping\ClassMetadata::__construct PHP Method
ClassMetadata Class Documentation
Show file
Open project: doctrine/phpcr-odm
__construct()
public
method
Initializes a new ClassMetadata instance that will hold the object-document mapping metadata of the class with the given name.
public
__construct
(
string
$className
)
$className
string
The name of the document class the new instance is used for.
public function __construct($className) { $this->name = $className; }
ClassMetadata
__construct
__sleep
addLifecycleCallback
assertValidChildClass
determineIdStrategy
fullyQualifiedClassName
getAssociation
getAssociationMappedByTargetField
getAssociationNames
getAssociationTargetClass
getChildClasses
getField
getFieldMapping
getFieldNames
getFieldValue
getIdentifier
getIdentifierFieldNames
getIdentifierValue
getIdentifierValues
getInheritMixins
getLifecycleCallbacks
getMixins
getName
getNamespace
getNodeType
getParentClasses
getReflectionClass
getReflectionProperties
getReflectionProperty
getTypeOfField
getUuidFieldName
hasAssociation
hasField
hasLifecycleCallbacks
hasUniqueNodeType
initializeReflection
invokeLifecycleCallbacks
isAssociationInverseSide
isCollectionValuedAssociation
isIdGeneratorNone
isIdGeneratorRepository
isIdentifier
isInheritedField
isLeaf
isNullable
isSingleValuedAssociation
isUuid
isValidNodename
mapChild
mapChildren
mapDepth
mapField
mapId
mapLifecycleCallbacks
mapLocale
mapManyToMany
mapManyToOne
mapMixedReferrers
mapNode
mapNodename
mapParentDocument
mapReferrers
mapVersionCreated
mapVersionName
newInstance
setChildClasses
setCustomRepositoryClassName
setFieldValue
setIdGenerator
setIdentifier
setIdentifierValue
setInheritMixins
setIsLeaf
setLifecycleCallbacks
setMixins
setNodeType
setParentClasses
setReferenceable
setTranslator
setUniqueNodeType
setVersioned
validateAndCompleteAssociationMapping
validateAndCompleteFieldMapping
validateChildClasses
validateClassMapping
validateIdentifier
validateLifecycleCallbacks
validateReferenceable
validateReferences
validateTranslatables
wakeupReflection