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
magento2-base
dev
tests
integration
_files
Magento
TestModuleAsyncAmqp
Model
WildCardHandler.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\TestModuleAsyncAmqp\Model
;
7
8
class
WildCardHandler
9
{
13
public
function
methodOne
(
AsyncTestData
$simpleDataItem)
14
{
15
file_put_contents
(
16
$simpleDataItem->
getTextFilePath
(),
17
'WildCardHandler::methodOne - wildcard.queue.one - '
. $simpleDataItem->
getValue
() . PHP_EOL,
18
FILE_APPEND
19
);
20
}
21
25
public
function
methodTwo
(
AsyncTestData
$simpleDataItem)
26
{
27
file_put_contents
(
28
$simpleDataItem->
getTextFilePath
(),
29
'WildCardHandler::methodTwo - wildcard.queue.two - '
. $simpleDataItem->
getValue
() . PHP_EOL,
30
FILE_APPEND
31
);
32
}
33
37
public
function
methodThree
(
AsyncTestData
$simpleDataItem)
38
{
39
file_put_contents
(
40
$simpleDataItem->
getTextFilePath
(),
41
'WildCardHandler::methodThree - wildcard.queue.three - '
. $simpleDataItem->
getValue
() . PHP_EOL,
42
FILE_APPEND
43
);
44
}
45
49
public
function
methodFour
(
AsyncTestData
$simpleDataItem)
50
{
51
file_put_contents
(
52
$simpleDataItem->
getTextFilePath
(),
53
'WildCardHandler::methodFour - wildcard.queue.four - '
. $simpleDataItem->
getValue
() . PHP_EOL,
54
FILE_APPEND
55
);
56
}
57
}
Magento\TestModuleAsyncAmqp\Model
Definition:
AsyncTestData.php:6
Magento\TestModuleAsyncAmqp\Model\WildCardHandler\methodOne
methodOne(AsyncTestData $simpleDataItem)
Definition:
WildCardHandler.php:13
Magento\Framework\Filesystem\Driver\file_put_contents
file_put_contents()
Definition:
http_mock.php:25
Magento\TestModuleAsyncAmqp\Model\WildCardHandler\methodFour
methodFour(AsyncTestData $simpleDataItem)
Definition:
WildCardHandler.php:49
Magento\TestModuleAsyncAmqp\Model\WildCardHandler\methodTwo
methodTwo(AsyncTestData $simpleDataItem)
Definition:
WildCardHandler.php:25
Magento\TestModuleAsyncAmqp\Model\AsyncTestData\getValue
getValue()
Definition:
AsyncTestData.php:51
Magento\TestModuleAsyncAmqp\Model\AsyncTestData
Definition:
AsyncTestData.php:8
Magento\TestModuleAsyncAmqp\Model\WildCardHandler\methodThree
methodThree(AsyncTestData $simpleDataItem)
Definition:
WildCardHandler.php:37
Magento\TestModuleAsyncAmqp\Model\WildCardHandler
Definition:
WildCardHandler.php:8
Magento\TestModuleAsyncAmqp\Model\AsyncTestData\getTextFilePath
getTextFilePath()
Definition:
AsyncTestData.php:34