Log in
Model

Relation

Magento\Quote\Model\Quote\Relation

What it does

This class manages the saving of related entities when a Quote object is persisted in Magento 2.

It automatically saves associated collections like addresses, items, and payments when the main quote is saved, ensuring data consistency across related tables.

Developers typically don't interact with this class directly as it's used internally by Magento's resource model versioning system.

Public Methods

  • processRelation()