demos-europe / edt

Enables your PHP application to expose its entities as REST resources using the feature rich JSON:API specification as API. How and to whom your entities are exposed is highly customizable while minimizing boilerplate code.
MIT License
2 stars 1 forks source link

#170 refactor(jsonapi): cache class instances #171

Open joorei opened 2 months ago

joorei commented 2 months ago

The DefaultProcessorConfig can be used to create default instances of necessary utility classes. However, its getter methods may be called multiple times, warranting a caching to avoid the creation of equal instances.

Refs: #170