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-amqp
Topology
ArgumentProcessor.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Amqp\Topology
;
7
12
trait ArgumentProcessor
13
{
20
public
function
processArguments(
$arguments
)
21
{
22
$output
= [];
23
foreach
(
$arguments
as $key =>
$value
) {
24
if
(is_array(
$value
)) {
25
$output
[$key] = [
'A'
,
$value
];
26
}
elseif
(is_int(
$value
)) {
27
$output
[$key] = [
'I'
,
$value
];
28
}
elseif
(is_bool(
$value
)) {
29
$output
[$key] = [
't'
,
$value
];
30
}
elseif
(is_string(
$value
)) {
31
$output
[$key] = [
'S'
,
$value
];
32
}
else
{
33
throw
new \InvalidArgumentException(
'Unknown argument type '
. gettype(
$value
));
34
}
35
}
36
return
$output
;
37
}
38
}
elseif
elseif(isset( $params[ 'redirect_parent']))
Definition:
iframe.phtml:17
$value
$value
Definition:
gender.phtml:16
$output
$output
Definition:
classmap_generator.php:100
$arguments
$arguments
Definition:
final_price.phtml:24
Magento\Framework\Amqp\Topology
Definition:
ArgumentProcessor.php:6