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 custom requirements when building PDF documents in Magento 2.
Public Methods
- get()