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
Setup
Declaration
Schema
Dto
GenericElement.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Setup\Declaration\Schema\Dto
;
7
18
abstract
class
GenericElement
implements
19
ElementInterface
20
{
26
private
$type;
27
33
private
$name;
34
41
public
function
__construct
(
string
$name,
string
$type)
42
{
43
$this->type =
$type
;
44
$this->
name
=
$name
;
45
}
46
50
public
function
getName
()
51
{
52
return
$this->name;
53
}
54
58
public
function
getType
()
59
{
60
return
$this->type;
61
}
62
}
Magento\Framework\Setup\Declaration\Schema\Dto
Definition:
Column.php:6
Magento\Framework\Setup\Declaration\Schema\Dto\GenericElement\getName
getName()
Definition:
GenericElement.php:50
Magento\Framework\Setup\Declaration\Schema\Dto\GenericElement
Definition:
GenericElement.php:18
$type
$type
Definition:
item.phtml:13
name
Magento\Framework\Setup\Declaration\Schema\Dto\GenericElement\getType
getType()
Definition:
GenericElement.php:58
Magento\Framework\Setup\Declaration\Schema\Dto\GenericElement\__construct
__construct(string $name, string $type)
Definition:
GenericElement.php:41
Magento\Framework\Setup\Declaration\Schema\Dto\ElementInterface
Definition:
ElementInterface.php:15
$name
if(!isset($_GET['name'])) $name
Definition:
log.php:14