Model
SerializeImage
Magento\AdobeStockImage\Model\SerializeImage
What it does
This class converts an Adobe Stock image Document object into a plain array format, transforming custom attributes into key-value pairs.
Developers use this when they need to serialize Adobe Stock image data for API responses, JSON output, or data transfer between system components.
It specifically handles the thumbnail_240_url attribute by renaming it to thumbnail_url in the output.
Public Methods
- execute()