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
App
Arguments
ArgumentInterpreter.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\App\Arguments
;
7
8
use
Magento\Framework\Data\Argument\Interpreter\Constant
;
9
use
Magento\Framework\Data\Argument\InterpreterInterface
;
10
14
class
ArgumentInterpreter
implements
InterpreterInterface
15
{
19
private
$constInterpreter;
20
24
public
function
__construct
(
Constant
$constInterpreter)
25
{
26
$this->constInterpreter = $constInterpreter;
27
}
28
33
public
function
evaluate
(array
$data
)
34
{
35
return
[
'argument'
=> $this->constInterpreter->evaluate(
$data
)];
36
}
37
}
Magento\Framework\Data\Argument\Interpreter\Constant
Definition:
Constant.php:13
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Framework\Data\Argument\InterpreterInterface
Definition:
InterpreterInterface.php:14
Magento\Framework\App\Arguments\ArgumentInterpreter\__construct
__construct(Constant $constInterpreter)
Definition:
ArgumentInterpreter.php:24
Magento\Framework\App\Arguments\ArgumentInterpreter\evaluate
evaluate(array $data)
Definition:
ArgumentInterpreter.php:33
Magento\Framework\App\Arguments
Definition:
ArgumentInterpreter.php:6
Magento\Framework\App\Arguments\ArgumentInterpreter
Definition:
ArgumentInterpreter.php:14