Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\ObjectManagerInterface $objectManager) | |
createAttribute ($className, $arguments=[]) | |
Protected Attributes | |
$_objectManager | |
EAV attribute model factory
@api @codeCoverageIgnore
Definition at line 15 of file AttributeFactory.php.
__construct | ( | \Magento\Framework\ObjectManagerInterface | $objectManager | ) |
\Magento\Framework\ObjectManagerInterface | $objectManager |
Definition at line 25 of file AttributeFactory.php.
createAttribute | ( | $className, | |
$arguments = [] |
|||
) |
Create new Eav attribute instance
string | $className | |
array | $arguments |
Definition at line 37 of file AttributeFactory.php.
|
protected |
Definition at line 20 of file AttributeFactory.php.