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-search
Model
Synonym
MergeConflictException.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Search\Model\Synonym
;
7
8
use
Magento\Framework\Exception\LocalizedException
;
9
use
Magento\Framework\Phrase
;
10
17
class
MergeConflictException
extends
LocalizedException
18
{
24
private
$conflictingSynonyms;
25
34
public
function
__construct
(array $conflictingSynonyms,
Phrase
$phrase
=
null
, \Exception $cause =
null
,
$code
= 0)
35
{
36
parent::__construct(
$phrase
, $cause,
$code
);
37
$this->conflictingSynonyms = $conflictingSynonyms;
38
}
39
46
public
function
getConflictingSynonyms
()
47
{
48
return
$this->conflictingSynonyms;
49
}
50
}
Magento\Framework\Exception\LocalizedException
Definition:
LocalizedException.php:17
Magento\Search\Model\Synonym\MergeConflictException\__construct
__construct(array $conflictingSynonyms, Phrase $phrase=null, \Exception $cause=null, $code=0)
Definition:
MergeConflictException.php:34
Magento\Framework\Exception\LocalizedException\$phrase
$phrase
Definition:
LocalizedException.php:22
Magento\Search\Model\Synonym
Definition:
DataProvider.php:6
Magento\Search\Model\Synonym\MergeConflictException
Definition:
MergeConflictException.php:17
Magento\Search\Model\Synonym\MergeConflictException\getConflictingSynonyms
getConflictingSynonyms()
Definition:
MergeConflictException.php:46
Magento\Framework\Phrase
Definition:
Phrase.php:17
Magento\Framework\Phrase
$code
$code
Definition:
info.phtml:12