SyliusAkeneoPlugin
SyliusAkeneoPlugin copied to clipboard
Introduce ProductConfigurationInterface to allow extension
| Q | A |
|---|---|
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Fixed issue | N.A. |
This introduces a new extension point. The issue was that the ProductChannelEnabler was hard coupled to the ProductConfigurationRepository (which is final), making it impossible to use the EnableDisableProductsTask without mocking the repository.
The refactoring is extended to any class using the ProductConfiguration repository (even in a non-hard coupling way) to remain consistent.
WDYT ?