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
Mview
ActionFactory.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\Mview
;
8
9
class
ActionFactory
10
{
14
protected
$objectManager
;
15
19
public
function
__construct
(\
Magento
\Framework\
ObjectManagerInterface
$objectManager
)
20
{
21
$this->objectManager =
$objectManager
;
22
}
23
31
public
function
get
(
$className
)
32
{
33
$action = $this->objectManager->get(
$className
);
34
if
(!$action instanceof
ActionInterface
) {
35
throw
new \InvalidArgumentException(
36
$className
.
' doesn\'t implement \Magento\Framework\Mview\ActionInterface'
37
);
38
}
39
40
return
$action;
41
}
42
}
Magento\Framework\Mview\ActionFactory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition:
ActionFactory.php:19
Magento\Framework\Mview\ActionFactory\$objectManager
$objectManager
Definition:
ActionFactory.php:14
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento
Magento\Framework\Mview
Definition:
ActionFactory.php:7
Magento\Framework\Mview\ActionInterface
Definition:
ActionInterface.php:12
Magento\Framework\Mview\ActionFactory
Definition:
ActionFactory.php:9
$className
if($currentSelectedMethod==$_code) $className
Definition:
form.phtml:31