A ClassMetadata instance holds all the object-relational mapping metadata of an entity and it's associations.
Once populated, ClassMetadata instances are usually cached in a serialized form.
The fields of this class are only public for 2 reasons:
- To allow fast READ access.
- To drastically reduce the size of a serialized instance (private/protected members get the whole class name, namespace inclusive, prepended to every property in the serialized representation).
- Doctrine\ORM\Mapping\ClassMetadataInfo implements Doctrine\Common\Persistence\Mapping\ClassMetadata
Author: Roman Borschel <email@example.com>
Author: Jonathan H. Wage <firstname.lastname@example.org>
Located at ORM/Mapping/ClassMetadata.php