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
framework
EntityManager
Sequence
SequenceRegistry.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\EntityManager\Sequence
;
8
9
use
Magento\Framework\DB\Sequence\SequenceInterface
;
10
14
class
SequenceRegistry
15
{
19
private
$registry;
20
29
public
function
register
(
$entityType
, $sequence =
null
, $sequenceTable =
null
)
30
{
31
$this->registry[
$entityType
][
'sequence'
] = $sequence;
32
$this->registry[
$entityType
][
'sequenceTable'
] = $sequenceTable;
33
}
34
41
public
function
retrieve
(
$entityType
)
42
{
43
if
(isset($this->registry[
$entityType
])) {
44
return
$this->registry[
$entityType
];
45
}
46
return
false
;
47
}
48
}
Magento\Framework\EntityManager\Sequence\SequenceRegistry\retrieve
retrieve($entityType)
Definition:
SequenceRegistry.php:41
$entityType
$entityType
Definition:
attribute_set_with_image_attribute.php:13
Magento\Framework\EntityManager\Sequence\SequenceRegistry
Definition:
SequenceRegistry.php:14
Magento\Framework\EntityManager\Sequence
Definition:
Sequence.php:7
Magento\Framework\DB\Sequence\SequenceInterface
Definition:
SequenceInterface.php:11