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
Setup
Declaration
Schema
Db
StatementAggregatorFactory.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\Setup\Declaration\Schema\Db
;
8
9
use
Magento\Framework\ObjectManagerInterface
;
10
14
class
StatementAggregatorFactory
15
{
19
private
$objectManager;
20
24
private
$className;
25
32
public
function
__construct
(
ObjectManagerInterface
$objectManager, $className = StatementAggregator::class)
33
{
34
$this->objectManager =
$objectManager
;
35
$this->className = $className;
36
}
37
43
public
function
create
()
44
{
45
return
$this->objectManager->create($this->className);
46
}
47
}
Magento\Framework\Setup\Declaration\Schema\Db
Definition:
DbDefinitionProcessorInterface.php:7
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\Setup\Declaration\Schema\Db\StatementAggregatorFactory\__construct
__construct(ObjectManagerInterface $objectManager, $className=StatementAggregator::class)
Definition:
StatementAggregatorFactory.php:32
Magento\Framework\Setup\Declaration\Schema\Db\StatementAggregatorFactory\create
create()
Definition:
StatementAggregatorFactory.php:43
Magento\Framework\Setup\Declaration\Schema\Db\StatementAggregatorFactory
Definition:
StatementAggregatorFactory.php:14