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
setup
src
Magento
Setup
Module
Di
Compiler
ConstructorArgument.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Setup\Module\Di\Compiler
;
9
10
class
ConstructorArgument
11
{
15
private
$name;
16
20
private
$type;
21
25
private
$isRequired;
26
30
private
$defaultValue;
31
35
public
function
__construct
(array
$configuration
)
36
{
37
$this->
name
=
$configuration
[0];
38
$this->type =
$configuration
[1];
39
$this->
isRequired
= $configuration[2];
40
$this->defaultValue =
$configuration
[3];
41
}
42
48
public
function
getName
()
49
{
50
return
$this->name;
51
}
52
58
public
function
getType
()
59
{
60
return
$this->type;
61
}
62
68
public
function
isRequired
()
69
{
70
return
$this->isRequired;
71
}
72
78
public
function
getDefaultValue
()
79
{
80
return
$this->defaultValue;
81
}
82
}
$configuration
$configuration
Definition:
index.php:33
Magento\Setup\Module\Di\Compiler\ConstructorArgument\getType
getType()
Definition:
ConstructorArgument.php:58
Magento\Setup\Module\Di\Compiler\ConstructorArgument\isRequired
isRequired()
Definition:
ConstructorArgument.php:68
name
Magento\Setup\Module\Di\Compiler\ConstructorArgument\getName
getName()
Definition:
ConstructorArgument.php:48
Magento\Setup\Module\Di\Compiler\ConstructorArgument\getDefaultValue
getDefaultValue()
Definition:
ConstructorArgument.php:78
Magento\Setup\Module\Di\Compiler
Definition:
ArgumentsResolver.php:8
Magento\Setup\Module\Di\Compiler\ConstructorArgument\__construct
__construct(array $configuration)
Definition:
ConstructorArgument.php:35
Magento\Setup\Module\Di\Compiler\ConstructorArgument
Definition:
ConstructorArgument.php:10