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
User
Test
Fixture
User
CurrentPassword.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\User\Test\Fixture\User
;
8
9
use Magento\Mtf\ObjectManager;
10
use Magento\Mtf\Fixture\FixtureInterface;
11
15
class
CurrentPassword
implements
FixtureInterface
16
{
22
protected
$params
;
23
29
protected
$data
;
30
36
public
function
__construct(array
$params
,
$data
=
''
)
37
{
38
$this->params =
$params
;
40
if
(
$data
==
'%current_password%'
) {
41
$systemConfig = ObjectManager::getInstance()->create(\
Magento
\
Mtf
\Config\DataInterface::class);
42
$data
= $systemConfig->get(
'application/0/backendPassword/0/value'
);
43
}
44
$this->data =
$data
;
45
}
46
52
public
function
persist
()
53
{
54
//
55
}
56
65
public
function
getData
($key =
null
)
66
{
67
return
$this->data
;
68
}
69
75
public
function
getDataConfig
()
76
{
77
return
$this->params
;
78
}
79
}
Magento\User\Test\Fixture\User\CurrentPassword\persist
persist()
Definition:
CurrentPassword.php:52
Magento\User\Test\Fixture\User\CurrentPassword\$params
$params
Definition:
CurrentPassword.php:22
Mtf
Magento\User\Test\Fixture\User\CurrentPassword\$data
$data
Definition:
CurrentPassword.php:29
Magento
Magento\User\Test\Fixture\User\CurrentPassword
Definition:
CurrentPassword.php:15
Magento\User\Test\Fixture\User\CurrentPassword\getDataConfig
getDataConfig()
Definition:
CurrentPassword.php:75
Magento\User\Test\Fixture\User
Definition:
CurrentPassword.php:7
Magento\User\Test\Fixture\User\CurrentPassword\getData
getData($key=null)
Definition:
CurrentPassword.php:65