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)
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
c
d
e
f
g
h
i
m
p
r
s
t
u
+
Functions
_
c
d
e
f
g
h
i
m
p
r
s
t
u
Variables
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
c
d
e
f
g
m
o
r
s
t
v
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
vendor
magento
module-inventory-low-quantity-notification
Plugin
InventoryCatalogApi
BulkSourceUnassignInterfacePlugin.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi
;
9
10
use
Magento\InventoryCatalogApi\Api\BulkSourceUnassignInterface
;
11
use
Magento\InventoryLowQuantityNotification\Model\ResourceModel\BulkConfigurationUnassign
;
12
16
class
BulkSourceUnassignInterfacePlugin
17
{
21
private
$bulkConfigurationUnassign;
22
27
public
function
__construct
(
28
BulkConfigurationUnassign
$bulkConfigurationUnassign
29
) {
30
$this->bulkConfigurationUnassign = $bulkConfigurationUnassign;
31
}
32
43
public
function
afterExecute
(
44
BulkSourceUnassignInterface
$subject,
45
int
$result
,
46
array
$skus
,
47
array $sources
48
): int {
49
$this->bulkConfigurationUnassign->execute(
$skus
, $sources);
50
return
$result
;
51
}
52
}
Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi\BulkSourceUnassignInterfacePlugin\afterExecute
afterExecute(BulkSourceUnassignInterface $subject, int $result, array $skus, array $sources)
Definition:
BulkSourceUnassignInterfacePlugin.php:43
$result
$result
Definition:
product_configurable_not_available_rollback.php:26
Magento\InventoryLowQuantityNotification\Model\ResourceModel\BulkConfigurationUnassign
Definition:
BulkConfigurationUnassign.php:15
Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi\BulkSourceUnassignInterfacePlugin
Definition:
BulkSourceUnassignInterfacePlugin.php:16
Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi
Definition:
BulkConfigurationTransferInterfacePlugin.php:8
$skus
foreach($websiteCodes as $websiteCode) $skus
Definition:
assign_products_to_websites.php:23
Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi\BulkSourceUnassignInterfacePlugin\__construct
__construct(BulkConfigurationUnassign $bulkConfigurationUnassign)
Definition:
BulkSourceUnassignInterfacePlugin.php:27
Magento\InventoryCatalogApi\Api\BulkSourceUnassignInterface
Definition:
BulkSourceUnassignInterface.php:15