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
framework
View
Asset
PreProcessor
ChainFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\View\Asset\PreProcessor
;
7
8
use
Magento\Framework\ObjectManagerInterface
;
9
16
class
ChainFactory
implements
ChainFactoryInterface
17
{
23
private
$objectManager;
24
28
public
function
__construct
(
ObjectManagerInterface
$objectManager)
29
{
30
$this->objectManager =
$objectManager
;
31
}
32
36
public
function
create
(array
$arguments
= [])
37
{
38
return
$this->objectManager->create(Chain::class,
$arguments
);
39
}
40
}
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\View\Asset\PreProcessor\ChainFactoryInterface
Definition:
ChainFactoryInterface.php:14
Magento\Framework\View\Asset\PreProcessor\ChainFactory\__construct
__construct(ObjectManagerInterface $objectManager)
Definition:
ChainFactory.php:28
Magento\Framework\View\Asset\PreProcessor
Magento\Framework\View\Asset\PreProcessor\ChainFactory
Definition:
ChainFactory.php:16
$arguments
$arguments
Definition:
final_price.phtml:24
Magento\Framework\View\Asset\PreProcessor\ChainFactory\create
create(array $arguments=[])
Definition:
ChainFactory.php:36