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 <firstname.lastname@example.org>
Author: Jonathan H. Wage <email@example.com>
Located at ORM/Mapping/ClassMetadata.php