Factory
ItemsFactory
Magento\Sales\Model\Order\Pdf\ItemsFactory
What it does
This factory class creates instances of PDF item renderer classes used when generating PDF documents for sales orders, invoices, shipments, and credit memos.
Developers use this factory to dynamically instantiate the appropriate renderer class based on the product type or document requirements, allowing different rendering logic for simple products, configurable products, bundles, etc.
Public Methods
- get()