Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-quote
Model
Quote
Address
Relation.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Quote\Model\Quote\Address
;
7
8
use
Magento\Framework\Model\ResourceModel\Db\VersionControl\RelationInterface
;
9
10
class
Relation
implements
RelationInterface
11
{
18
public
function
processRelation
(\
Magento
\Framework\Model\
AbstractModel
$object)
19
{
23
if
($object->itemsCollectionWasSet()) {
24
$object->getItemsCollection()->save();
25
}
26
if
($object->shippingRatesCollectionWasSet()) {
27
$object->getShippingRatesCollection()->save();
28
}
29
}
30
}
Magento\Framework\Model\AbstractModel
Definition:
AbstractModel.php:19
Magento\Framework\Model\ResourceModel\Db\VersionControl\RelationInterface
Definition:
RelationInterface.php:11
Magento\Framework\Model\ResourceModel\Db\VersionControl\RelationInterface\processRelation
processRelation(\Magento\Framework\Model\AbstractModel $object)
Magento\Quote\Model\Quote\Address
Definition:
BillingAddressPersister.php:6
Magento\Quote\Model\Quote\Address\Relation
Definition:
Relation.php:10
Magento