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
module-signifyd
Model
SignifydGateway
Debugger
DebuggerFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Signifyd\Model\SignifydGateway\Debugger
;
7
8
use
Magento\Framework\ObjectManagerInterface
;
9
use
Magento\Signifyd\Model\Config
;
10
18
class
DebuggerFactory
19
{
23
private
$objectManager;
24
28
private
$config;
29
36
public
function
__construct
(
37
ObjectManagerInterface
$objectManager,
38
Config
$config
39
) {
40
$this->objectManager =
$objectManager
;
41
$this->config =
$config
;
42
}
43
50
public
function
create
(
$storeId
=
null
):
DebuggerInterface
51
{
52
if
(!$this->config->isDebugModeEnabled(
$storeId
)) {
53
return
$this->objectManager->get(BlackHole::class);
54
}
55
56
return
$this->objectManager->get(Log::class);
57
}
58
}
$storeId
$storeId
Definition:
customer_review_with_rating.php:14
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Signifyd\Model\SignifydGateway\Debugger
Definition:
BlackHole.php:6
Magento\Signifyd\Model\SignifydGateway\Debugger\DebuggerFactory\create
create($storeId=null)
Definition:
DebuggerFactory.php:50
$config
$config
Definition:
fraud_order.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Signifyd\Model\SignifydGateway\Debugger\DebuggerFactory
Definition:
DebuggerFactory.php:18
Magento\Signifyd\Model\Config
Definition:
Config.php:16
Magento\Signifyd\Model\SignifydGateway\Debugger\DebuggerInterface
Definition:
DebuggerInterface.php:13
Magento\Signifyd\Model\SignifydGateway\Debugger\DebuggerFactory\__construct
__construct(ObjectManagerInterface $objectManager, Config $config)
Definition:
DebuggerFactory.php:36