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
TotalFactory.php
Go to the documentation of this file.
1
<?php
10
namespace
Magento\Quote\Model\Quote\Address
;
11
12
class
TotalFactory
13
{
19
protected
$_objectManager
=
null
;
20
26
public
function
__construct
(\
Magento
\Framework\
ObjectManagerInterface
$objManager
)
27
{
28
$this->_objectManager =
$objManager
;
29
}
30
38
public
function
create
($instanceName = Total::class, array
$data
= [])
39
{
40
return
$this->_objectManager->create($instanceName,
$data
);
41
}
42
}
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Quote\Model\Quote\Address\TotalFactory
Definition:
TotalFactory.php:12
Magento\Quote\Model\Quote\Address\TotalFactory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objManager)
Definition:
TotalFactory.php:26
$objManager
$objManager
Definition:
order_hostedpro.php:14
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Quote\Model\Quote\Address\TotalFactory\create
create($instanceName=Total::class, array $data=[])
Definition:
TotalFactory.php:38
Magento\Quote\Model\Quote\Address
Definition:
BillingAddressPersister.php:6
Magento
Magento\Quote\Model\Quote\Address\TotalFactory\$_objectManager
$_objectManager
Definition:
TotalFactory.php:19