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
Setup
JsonPersistor.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Setup
;
7
11
class
JsonPersistor
12
{
20
public
function
persist
(array
$data
,
$path
)
21
{
22
return
file_put_contents
(
$path
, json_encode(
$data
, JSON_PRETTY_PRINT));
23
}
24
}
Magento\Framework\Setup\JsonPersistor
Definition:
JsonPersistor.php:11
Magento\Framework\Setup
Definition:
BackendFrontnameGenerator.php:7
Magento\Framework\Filesystem\Driver\file_put_contents
file_put_contents()
Definition:
http_mock.php:25
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Framework\Setup\JsonPersistor\persist
persist(array $data, $path)
Definition:
JsonPersistor.php:20
$path
$path
Definition:
import_with_filesystem_images.php:14