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-functional-testing-framework
src
Magento
FunctionalTestingFramework
Test
Objects
TestHookObject.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\FunctionalTestingFramework\Test\Objects
;
8
9
use
Magento\FunctionalTestingFramework\Test\Util\ActionMergeUtil
;
10
use
Magento\FunctionalTestingFramework\Test\Util\TestObjectExtractor
;
11
15
class
TestHookObject
16
{
22
private
$type;
23
29
private
$parentName;
30
36
private
$actions = [];
37
42
private
$customData = [];
43
50
public
function
__construct
($type, $parentName, $actions)
51
{
52
$this->type = $type;
53
$this->parentName = $parentName;
54
$this->actions = $actions;
55
}
56
62
public
function
getType
()
63
{
64
return
$this->type;
65
}
66
72
public
function
getParentName
()
73
{
74
return
$this->parentName;
75
}
76
82
public
function
getActions
()
83
{
84
$mergeUtil =
new
ActionMergeUtil
($this->parentName, $this->
getType
());
85
return
$mergeUtil->resolveActionSteps($this->actions);
86
}
87
93
public
function
getUnresolvedActions
()
94
{
95
return
$this->actions;
96
}
97
103
public
function
getCustomData
()
104
{
105
return
$this->customData;
106
}
107
}
Magento\FunctionalTestingFramework\Test\Objects\TestHookObject\getCustomData
getCustomData()
Definition:
TestHookObject.php:103
Magento\FunctionalTestingFramework\Test\Objects
Definition:
ActionGroupObject.php:7
Magento\FunctionalTestingFramework\Test\Util\ActionMergeUtil
Definition:
ActionMergeUtil.php:17
Magento\FunctionalTestingFramework\Test\Objects\TestHookObject\getParentName
getParentName()
Definition:
TestHookObject.php:72
Magento\FunctionalTestingFramework\Test\Util\TestObjectExtractor
Definition:
TestObjectExtractor.php:19
Magento\FunctionalTestingFramework\Test\Objects\TestHookObject\__construct
__construct($type, $parentName, $actions)
Definition:
TestHookObject.php:50
Magento\FunctionalTestingFramework\Test\Objects\TestHookObject
Definition:
TestHookObject.php:15
Magento\FunctionalTestingFramework\Test\Objects\TestHookObject\getType
getType()
Definition:
TestHookObject.php:62
Magento\FunctionalTestingFramework\Test\Objects\TestHookObject\getUnresolvedActions
getUnresolvedActions()
Definition:
TestHookObject.php:93
Magento\FunctionalTestingFramework\Test\Objects\TestHookObject\getActions
getActions()
Definition:
TestHookObject.php:82