Extend the library
The model exposed by this library is closed for inheritance. We did this to ensure the model is stable and does not change via external factors. The complexity of this project makes it hard to keep all the internal classes stable. The model is designed to be cached and constructed very carefully to ensure performance and memory usage are optimal.
Metadata
Metadata is a way to extend the model with additional information. We call this metadata, as all first class elements in the reflected codebase are part of the model. Extra data can be added to these elements using metadata.
Elements supporting metadata are:
Adding metadata might break the posibilty to cache the model. Be carefull with circular references and large objects. We do recommend to keep the metadata small and simple.
Continue reading Creating your first metadata_ to learn how to create your own metadata.