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
module-catalog-graph-ql
Model
Resolver
Products
DataProvider
Product
CollectionProcessor
ExtensibleEntityProcessor.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product\CollectionProcessor
;
9
10
use
Magento\Catalog\Model\ResourceModel\Product\Collection
;
11
use
Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product\CollectionProcessorInterface
;
12
use
Magento\Framework\Api\SearchCriteriaInterface
;
13
use
Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface
;
14
20
class
ExtensibleEntityProcessor
implements
CollectionProcessorInterface
21
{
25
private
$joinProcessor;
26
30
public
function
__construct
(
JoinProcessorInterface
$joinProcessor)
31
{
32
$this->joinProcessor = $joinProcessor;
33
}
34
42
public
function
process
(
43
Collection
$collection
,
44
SearchCriteriaInterface
$searchCriteria
,
45
array $attributeNames
46
):
Collection
{
47
$this->joinProcessor->process(
$collection
);
48
49
return
$collection
;
50
}
51
}
Magento\Catalog\Model\ResourceModel\Product\Collection
Definition:
ProductLimitation.php:6
Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product\CollectionProcessor\ExtensibleEntityProcessor\__construct
__construct(JoinProcessorInterface $joinProcessor)
Definition:
ExtensibleEntityProcessor.php:30
Magento\Framework\Api\SearchCriteriaInterface
Definition:
SearchCriteriaInterface.php:15
Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product\CollectionProcessor\ExtensibleEntityProcessor\process
process(Collection $collection, SearchCriteriaInterface $searchCriteria, array $attributeNames)
Definition:
ExtensibleEntityProcessor.php:42
Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product\CollectionProcessor\ExtensibleEntityProcessor
Definition:
ExtensibleEntityProcessor.php:20
Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product\CollectionProcessor
Definition:
AttributeProcessor.php:8
Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface
Definition:
JoinProcessorInterface.php:17
$searchCriteria
$searchCriteria
Definition:
order_rollback.php:16
Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product\CollectionProcessorInterface
Definition:
CollectionProcessorInterface.php:16
Magento\Catalog\Model\ResourceModel\Product\Collection
Definition:
Collection.php:36
$collection
$collection
Definition:
catalog_category_with_apostrophe_rollback.php:17