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-store
Model
StoreIsInactiveException.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Store\Model
;
7
8
use
Magento\Framework\Exception\LocalizedException
;
9
use
Magento\Framework\Phrase
;
10
15
class
StoreIsInactiveException
extends
LocalizedException
16
{
22
public
function
__construct
(
Phrase
$phrase
=
null
, \Exception $cause =
null
,
$code
= 0)
23
{
24
if
(
$phrase
===
null
) {
25
$phrase
=
new
Phrase
(
'Store is inactive'
);
26
}
27
parent::__construct(
$phrase
, $cause,
$code
);
28
}
29
}
Magento\Framework\Exception\LocalizedException
Definition:
LocalizedException.php:17
Magento\Framework\Exception\LocalizedException\$phrase
$phrase
Definition:
LocalizedException.php:22
Magento\Store\Model
Magento\Store\Model\StoreIsInactiveException
Definition:
StoreIsInactiveException.php:15
Magento\Framework\Phrase
Definition:
Phrase.php:17
Magento\Framework\Phrase
Magento\Store\Model\StoreIsInactiveException\__construct
__construct(Phrase $phrase=null, \Exception $cause=null, $code=0)
Definition:
StoreIsInactiveException.php:22
$code
$code
Definition:
info.phtml:12