Method |
Description |
|
__construct ( string $entityName ) |
Initializes a new ClassMetadata instance that will hold the object-document mapping
metadata of the class with the given name. |
|
__sleep ( ) : array |
Determines which fields get serialized. |
|
__wakeup ( ) : void |
Restores some state that can not be serialized/unserialized. |
|
getFieldValue ( object $entity, string $fieldName ) |
Gets the specified field's value off the given entity. |
|
getIdentifierValue ( object $xmlEntity ) : string |
Gets the document identifier. |
|
getReflectionProperties ( ) : ReflectionProperty[] |
Gets the ReflectionPropertys of the mapped class. |
|
getReflectionProperty ( string $name ) : ReflectionProperty |
Gets a ReflectionProperty for a specific field of the mapped class. |
|
mapField ( array $mapping ) |
Map a field. |
|
newInstance ( ) : object |
Creates a new instance of the mapped class, without invoking the constructor. |
|
setFieldValue ( object $entity, string $fieldName, mixed $value ) |
Sets the specified field to the specified value on the given entity. |
|
setIdentifierValue ( object $xmlEntity, array $id ) |
Populates the entity identifier of an entity. |
|