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
BulkSourceAssignInterfacePlugin.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\BulkSourceAssignInterface
;
11
use
Magento\InventoryLowQuantityNotification\Model\ResourceModel\BulkConfigurationAssign
;
12
16
class
BulkSourceAssignInterfacePlugin
17
{
21
private
$bulkConfigurationAssign;
22
27
public
function
__construct
(
28
BulkConfigurationAssign
$bulkConfigurationAssign
29
) {
30
$this->bulkConfigurationAssign = $bulkConfigurationAssign;
31
}
32
43
public
function
afterExecute
(
44
BulkSourceAssignInterface
$subject,
45
int
$result
,
46
array
$skus
,
47
array $sources
48
): int {
49
$this->bulkConfigurationAssign->execute(
$skus
, $sources);
50
return
$result
;
51
}
52
}
$result
$result
Definition:
product_configurable_not_available_rollback.php:26
Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi\BulkSourceAssignInterfacePlugin\afterExecute
afterExecute(BulkSourceAssignInterface $subject, int $result, array $skus, array $sources)
Definition:
BulkSourceAssignInterfacePlugin.php:43
Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi\BulkSourceAssignInterfacePlugin
Definition:
BulkSourceAssignInterfacePlugin.php:16
Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi
Definition:
BulkConfigurationTransferInterfacePlugin.php:8
$skus
foreach($websiteCodes as $websiteCode) $skus
Definition:
assign_products_to_websites.php:23
Magento\InventoryCatalogApi\Api\BulkSourceAssignInterface
Definition:
BulkSourceAssignInterface.php:15
Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi\BulkSourceAssignInterfacePlugin\__construct
__construct(BulkConfigurationAssign $bulkConfigurationAssign)
Definition:
BulkSourceAssignInterfacePlugin.php:27
Magento\InventoryLowQuantityNotification\Model\ResourceModel\BulkConfigurationAssign
Definition:
BulkConfigurationAssign.php:19