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
Data
SearchResultProcessorFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Data
;
7
11
class
SearchResultProcessorFactory
12
{
13
const
DEFAULT_INSTANCE_NAME
= \Magento\Framework\Data\SearchResultProcessor::class;
14
20
protected
$objectManager
;
21
27
public
function
__construct
(
28
\
Magento
\Framework\
ObjectManagerInterface
$objectManager
29
) {
30
$this->objectManager =
$objectManager
;
31
}
32
39
public
function
create
(
AbstractSearchResult
$collection
)
40
{
41
return
$this->objectManager->create(static::DEFAULT_INSTANCE_NAME, [
'searchResult'
=>
$collection
]);
42
}
43
}
Magento\Framework\Data\SearchResultProcessorFactory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition:
SearchResultProcessorFactory.php:27
Magento\Framework\Data\SearchResultProcessorFactory\$objectManager
$objectManager
Definition:
SearchResultProcessorFactory.php:20
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\Data
Definition:
AbstractCriteria.php:6
Magento\Framework\Data\SearchResultProcessorFactory
Definition:
SearchResultProcessorFactory.php:11
Magento\Framework\Data\SearchResultProcessorFactory\create
create(AbstractSearchResult $collection)
Definition:
SearchResultProcessorFactory.php:39
Magento\Framework\Data\AbstractSearchResult
Definition:
AbstractSearchResult.php:11
Magento\Framework\Data\SearchResultProcessorFactory\DEFAULT_INSTANCE_NAME
const DEFAULT_INSTANCE_NAME
Definition:
SearchResultProcessorFactory.php:13
Magento
$collection
$collection
Definition:
catalog_category_with_apostrophe_rollback.php:17