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-eav
Model
ResourceModel
ReadSnapshot.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Eav\Model\ResourceModel
;
8
9
use
Magento\Store\Model\StoreManagerInterface
as StoreManager;
10
use
Magento\Framework\Model\Entity\ScopeInterface
;
11
15
class
ReadSnapshot
extends
ReadHandler
16
{
21
protected
function
getContextVariables
(
ScopeInterface
$scope)
22
{
23
$data
[] = $scope->
getValue
();
24
return
$data
;
25
}
26
}
Magento\Eav\Model\ResourceModel
Definition:
AttributeLoaderTest.php:7
Magento\Framework\Model\Entity\ScopeInterface
Definition:
ScopeInterface.php:12
Magento\Store\Model\StoreManagerInterface
Definition:
StoreManagerInterface.php:17
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Framework\Model\Entity\ScopeInterface\getValue
getValue()
Magento\Eav\Model\ResourceModel\ReadSnapshot\getContextVariables
getContextVariables(ScopeInterface $scope)
Definition:
ReadSnapshot.php:21
Magento\Eav\Model\ResourceModel\ReadSnapshot
Definition:
ReadSnapshot.php:15
Magento\Eav\Model\ResourceModel\ReadHandler
Definition:
ReadHandler.php:15