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
framework
Webapi
Test
Unit
ServiceInputProcessor
SimpleConstructor.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\Framework\Webapi\Test\Unit\ServiceInputProcessor
;
9
10
class
SimpleConstructor
11
{
15
private
$entityId;
16
20
private
$name;
21
26
public
function
__construct
(
27
int
$entityId,
28
string
$name
29
) {
30
$this->entityId = $entityId;
31
$this->
name
=
$name
;
32
}
33
37
public
function
getEntityId
()
38
{
39
return
$this->entityId;
40
}
41
45
public
function
getName
()
46
{
47
return
$this->name;
48
}
49
}
Magento\Framework\Webapi\Test\Unit\ServiceInputProcessor
Definition:
AssociativeArray.php:6
Magento\Framework\Webapi\Test\Unit\ServiceInputProcessor\SimpleConstructor\getName
getName()
Definition:
SimpleConstructor.php:45
Magento\Framework\Webapi\Test\Unit\ServiceInputProcessor\SimpleConstructor
Definition:
SimpleConstructor.php:10
name
Magento\Framework\Webapi\Test\Unit\ServiceInputProcessor\SimpleConstructor\getEntityId
getEntityId()
Definition:
SimpleConstructor.php:37
Magento\Framework\Webapi\Test\Unit\ServiceInputProcessor\SimpleConstructor\__construct
__construct(int $entityId, string $name)
Definition:
SimpleConstructor.php:26
$name
if(!isset($_GET['name'])) $name
Definition:
log.php:14