We currently have an EntityStoreInterface used by Order, which has getStore and setStore.
But it's not really reusable, cause all other entities (products, promotions, etc) actually need getStores and setStores.
So, let's remove EntityStoreInterface, move the relevant methods to OrderInterface, then implement an EntityStoresInterface with the right methods, used by products and promotions.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | replace-EntityStoreInterface-EntityStoresInterface-2794485-3.patch | 8.2 KB | miteshmap |
Comments
Comment #2
miteshmapComment #3
miteshmapPR - https://github.com/drupalcommerce/commerce/pull/482
Comment #5
bojanz commentedFinished and committed, thanks!