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-deploy
Model
DeploymentConfig
Hash
Generator.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Deploy\Model\DeploymentConfig\Hash
;
7
8
use
Magento\Framework\Serialize\SerializerInterface
;
9
13
class
Generator
14
{
20
private
$serializer;
21
25
public
function
__construct
(
SerializerInterface
$serializer)
26
{
27
$this->serializer =
$serializer
;
28
}
29
36
public
function
generate
(
$data
)
37
{
38
return
sha1($this->serializer->serialize(
$data
));
39
}
40
}
$serializer
$serializer
Definition:
quote_with_payment_saved.php:10
Magento\Framework\Serialize\SerializerInterface
Definition:
SerializerInterface.php:14
Magento\Deploy\Model\DeploymentConfig\Hash\Generator\__construct
__construct(SerializerInterface $serializer)
Definition:
Generator.php:25
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Deploy\Model\DeploymentConfig\Hash\Generator
Definition:
Generator.php:13
Magento\Deploy\Model\DeploymentConfig\Hash
Definition:
Generator.php:6
Magento\Deploy\Model\DeploymentConfig\Hash\Generator\generate
generate($data)
Definition:
Generator.php:36