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
Composer
Remove.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Composer
;
7
8
use
Magento\Composer\MagentoComposerApplication
;
9
13
class
Remove
14
{
20
private
$composerApplicationFactory;
21
27
public
function
__construct
(
28
MagentoComposerApplicationFactory
$composerApplicationFactory
29
) {
30
$this->composerApplicationFactory = $composerApplicationFactory;
31
}
32
41
public
function
remove
(array $packages)
42
{
43
$composerApplication = $this->composerApplicationFactory->
create
();
44
45
return
$composerApplication->runComposerCommand(
46
[
47
'command'
=>
'remove'
,
48
'packages'
=> $packages,
49
'--no-update'
=>
true
,
50
]
51
);
52
}
53
}
Magento\Framework\Composer\Remove
Definition:
Remove.php:13
Magento\Framework\Composer\MagentoComposerApplicationFactory
Definition:
MagentoComposerApplicationFactory.php:14
Magento\Composer\MagentoComposerApplication
Definition:
MagentoComposerApplication.php:20
Magento\Framework\Composer
Definition:
BufferIoFactory.php:7
Magento\Framework\Composer\Remove\__construct
__construct(MagentoComposerApplicationFactory $composerApplicationFactory)
Definition:
Remove.php:27
Magento\Framework\Composer\MagentoComposerApplicationFactory\create
create()
Definition:
MagentoComposerApplicationFactory.php:44