FlushCacheByCacheTag
Magento\InventoryCache\Model\FlushCacheByCacheTag
What it does
This class handles cache invalidation for inventory-related entities by flushing cache entries associated with specific cache tags and entity IDs.
Developers use this when inventory data changes (stock updates, source changes) to ensure the frontend displays up-to-date product availability information.
It dispatches cache cleaning events and directly cleans cache entries using Magento's cache interface.
Public Methods
- execute()