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-payment
Gateway
Command
Result
BoolResult.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Payment\Gateway\Command\Result
;
7
8
use
Magento\Payment\Gateway\Command\ResultInterface
;
9
16
class
BoolResult
implements
ResultInterface
17
{
21
private
$result;
22
28
public
function
__construct
($result =
true
)
29
{
30
$this->result = $result;
31
}
32
38
public
function
get
()
39
{
40
return
(
bool
) $this->result;
41
}
42
}
Magento\Payment\Gateway\Command\Result\BoolResult
Definition:
BoolResult.php:16
Magento\Payment\Gateway\Command\Result\BoolResult\__construct
__construct($result=true)
Definition:
BoolResult.php:28
Magento\Payment\Gateway\Command\Result
Definition:
ArrayResult.php:6
Magento\Payment\Gateway\Command\ResultInterface
Definition:
ResultInterface.php:14