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
integration
testsuite
Magento
Ui
DataProvider
EntityFake.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Ui\DataProvider
;
7
12
class
EntityFake
13
{
17
private
$id;
18
22
private
$attributeFoo;
23
27
private
$attributeBar;
28
34
public
function
__construct
(
int
$id,
string
$attributeFoo,
string
$attributeBar)
35
{
36
$this->
id
= $id;
37
$this->attributeFoo = $attributeFoo;
38
$this->attributeBar = $attributeBar;
39
}
40
44
public
function
getId
(): int
45
{
46
return
$this->id;
47
}
48
52
public
function
getAttributeFoo
(): string
53
{
54
return
$this->attributeFoo;
55
}
56
60
public
function
getAttributeBar
(): string
61
{
62
return
$this->attributeBar;
63
}
64
}
Magento\Ui\DataProvider\EntityFake\getAttributeFoo
getAttributeFoo()
Definition:
EntityFake.php:52
Magento\Ui\DataProvider\EntityFake\__construct
__construct(int $id, string $attributeFoo, string $attributeBar)
Definition:
EntityFake.php:34
Magento\Ui\DataProvider\EntityFake\getAttributeBar
getAttributeBar()
Definition:
EntityFake.php:60
Magento\Ui\DataProvider\EntityFake\getId
getId()
Definition:
EntityFake.php:44
Magento\Ui\DataProvider\EntityFake
Definition:
EntityFake.php:12
Magento\Ui\DataProvider
Definition:
EntityFake.php:6