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
BackupRollbackFactory.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\Setup
;
9
10
use
Magento\Framework\ObjectManagerInterface
;
11
use Symfony\Component\Console\Output\OutputInterface;
12
13
class
BackupRollbackFactory
14
{
18
protected
$_objectManager
;
19
23
public
function
__construct
(
ObjectManagerInterface
$objectManager
)
24
{
25
$this->_objectManager =
$objectManager
;
26
}
27
34
public
function
create
(
$output
)
35
{
36
$log = $this->_objectManager->create(\
Magento
\Framework\Setup\ConsoleLogger::class, [
'output'
=>
$output
]);
37
return
$this->_objectManager->create(\
Magento
\Framework\Setup\BackupRollback::class, [
'log'
=> $log]);
38
}
39
}
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\Setup\BackupRollbackFactory\create
create($output)
Definition:
BackupRollbackFactory.php:34
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\Setup
Definition:
BackendFrontnameGenerator.php:7
Magento\Framework\Setup\BackupRollbackFactory\$_objectManager
$_objectManager
Definition:
BackupRollbackFactory.php:18
Magento\Framework\Setup\BackupRollbackFactory
Definition:
BackupRollbackFactory.php:13
$output
$output
Definition:
classmap_generator.php:100
Magento
Magento\Framework\Setup\BackupRollbackFactory\__construct
__construct(ObjectManagerInterface $objectManager)
Definition:
BackupRollbackFactory.php:23