Log in
Model

ReadHandler

Magento\Downloadable\Model\Sample\ReadHandler

What it does

This read handler loads downloadable sample data for downloadable products during entity retrieval operations.

It automatically fetches and attaches samples to a product's extension attributes when the product is loaded from the database, ensuring developers have access to sample information without manual querying.

Public Methods

  • execute()