Log in
Model

Relation

Magento\Quote\Model\Quote\Relation

What it does

This class manages the saving of related collections when a Quote is saved in Magento 2.

It automatically persists associated addresses, items, and payment information if they were modified, ensuring data consistency between the quote and its dependent entities.

Developers typically don't interact with this class directly as it's called automatically by Magento's version control system during quote save operations.

Public Methods

  • processRelation()