Hi all, I’ve been using Laminas since the transition - but I’m struggling with one last problem with entity and doctrine. Not sure it’s even possible?
But I’m trying to create entities with dynamic attributes, much like Magento does it, where we have e.g. the following tables
Where “int” table contain the integer values with an entity_id and attribute_id (pointing to an attribute from the eav_attribute table), varchar for varchar attributes on so on. This would be the most flexible structure for my app, but I cannot for the love of me figure out how to map it properly in doctrine.
Beware, the attributes aren’t known (could be anything) at the time of creation. Other components may add attributes of any type, which can then be used by entities.
Any help with this is greatly appreciated. At least a point in the right direction would be lovely. Thx!