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
Indexer
FieldsetPool.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Indexer
;
7
8
use
Magento\Framework\ObjectManagerInterface
;
9
14
class
FieldsetPool
15
{
19
protected
$objectManager
;
20
24
public
function
__construct
(
ObjectManagerInterface
$objectManager
)
25
{
26
$this->objectManager =
$objectManager
;
27
}
28
36
public
function
get
($fieldsetClass)
37
{
38
$handler
= $this->objectManager->get($fieldsetClass);
39
if
(!
$handler
instanceof
FieldsetInterface
) {
40
throw
new \InvalidArgumentException(
41
$fieldsetClass .
' doesn\'t implement \Magento\Framework\Indexer\FieldsetInterface'
42
);
43
}
44
return
$handler
;
45
}
46
}
Magento\Framework\Indexer\FieldsetPool
Definition:
FieldsetPool.php:14
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\Indexer
Definition:
AbstractProcessor.php:9
Magento\Framework\Indexer\FieldsetPool\$objectManager
$objectManager
Definition:
FieldsetPool.php:19
Magento\Framework\Indexer\FieldsetPool\__construct
__construct(ObjectManagerInterface $objectManager)
Definition:
FieldsetPool.php:24
Magento\Framework\Indexer\FieldsetInterface
Definition:
FieldsetInterface.php:12
$handler
catch(\Exception $e) $handler
Definition:
index.php:30