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
Search
Response
Aggregation
Value.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Search\Response\Aggregation
;
7
8
use
Magento\Framework\Api\Search\AggregationValueInterface
;
9
10
class
Value
implements
AggregationValueInterface
11
{
15
private
$value;
16
20
private
$metrics;
21
26
public
function
__construct
($value, $metrics)
27
{
28
$this->
value
= $value;
29
$this->metrics = $metrics;
30
}
31
35
public
function
getValue
()
36
{
37
return
$this->value;
38
}
39
43
public
function
getMetrics
()
44
{
45
return
$this->metrics;
46
}
47
}
value
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition:
block.php:9
Magento\Framework\Api\Search\AggregationValueInterface
Definition:
AggregationValueInterface.php:12
Magento\Framework\Search\Response\Aggregation
Definition:
Value.php:6
Magento\Framework\Search\Response\Aggregation\Value\getMetrics
getMetrics()
Definition:
Value.php:43
Magento\Framework\Search\Response\Aggregation\Value
Definition:
Value.php:10
Magento\Framework\Search\Response\Aggregation\Value\getValue
getValue()
Definition:
Value.php:35
Magento\Framework\Search\Response\Aggregation\Value\__construct
__construct($value, $metrics)
Definition:
Value.php:26