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-eav
Model
AttributeFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Eav\Model
;
7
15
class
AttributeFactory
16
{
20
protected
$_objectManager
;
21
25
public
function
__construct
(\
Magento
\Framework\
ObjectManagerInterface
$objectManager
)
26
{
27
$this->_objectManager =
$objectManager
;
28
}
29
37
public
function
createAttribute
(
$className
,
$arguments
= [])
38
{
39
return
$this->_objectManager->create(
$className
, [
'data'
=>
$arguments
]);
40
}
41
}
Magento\Eav\Model\AttributeFactory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition:
AttributeFactory.php:25
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Eav\Model\AttributeFactory
Definition:
AttributeFactory.php:15
Magento\Eav\Model\AttributeFactory\createAttribute
createAttribute($className, $arguments=[])
Definition:
AttributeFactory.php:37
Magento\Eav\Model
Magento
$arguments
$arguments
Definition:
final_price.phtml:24
Magento\Eav\Model\AttributeFactory\$_objectManager
$_objectManager
Definition:
AttributeFactory.php:20
$className
if($currentSelectedMethod==$_code) $className
Definition:
form.phtml:31