Log in
Model

Renderer

Magento\Sales\Model\Order\Address\Renderer

What it does

This class formats order addresses according to specific display types (like HTML, PDF, or text formats) while respecting store-specific configurations and locales.

Developers use this when they need to render order addresses consistently across different contexts, such as in emails, invoices, or shipment documents, ensuring the address follows the correct format for the order's store and locale.

Public Methods

  • format()