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
magento2-base
dev
tests
functional
tests
app
Magento
Catalog
Test
TestStep
CreateAttributeSetStep.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Catalog\Test\TestStep
;
8
9
use
Magento\Catalog\Test\Fixture\CatalogAttributeSet
;
10
use Magento\Mtf\TestStep\TestStepInterface;
11
15
class
CreateAttributeSetStep
implements
TestStepInterface
16
{
22
protected
$attributeSet
;
23
30
public
function
__construct
(CatalogAttributeSet
$attributeSet
)
31
{
32
$this->attributeSet =
$attributeSet
;
33
}
34
40
public
function
run
()
41
{
42
$this->attributeSet->persist();
43
44
return
[
'attributeSet'
=>
$this->attributeSet
];
45
}
46
}
Magento\Catalog\Test\TestStep\CreateAttributeSetStep\$attributeSet
$attributeSet
Definition:
CreateAttributeSetStep.php:22
Magento\Catalog\Test\TestStep
Definition:
AddAttributeToAttributeSetStep.php:7
Magento\Catalog\Test\Fixture\CatalogAttributeSet
Definition:
AssignedAttributes.php:7
Magento\Catalog\Test\TestStep\CreateAttributeSetStep\__construct
__construct(CatalogAttributeSet $attributeSet)
Definition:
CreateAttributeSetStep.php:30
Magento\Catalog\Test\TestStep\CreateAttributeSetStep
Definition:
CreateAttributeSetStep.php:15
Magento\Catalog\Test\TestStep\CreateAttributeSetStep\run
run()
Definition:
CreateAttributeSetStep.php:40