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
View
Model
Layout
CacheKey.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\View\Model\Layout
;
7
11
class
CacheKey
implements
\Magento\Framework\View\Layout\LayoutCacheKeyInterface
12
{
18
private
$cacheKeys = [];
19
26
public
function
addCacheKeys
($cacheKeys)
27
{
28
if
(!is_array($cacheKeys)) {
29
$cacheKeys = [$cacheKeys];
30
}
31
$this->cacheKeys = array_merge($this->cacheKeys, $cacheKeys);
32
}
33
39
public
function
getCacheKeys
()
40
{
41
return
$this->cacheKeys;
42
}
43
}
Magento\Framework\View\Model\Layout\CacheKey\addCacheKeys
addCacheKeys($cacheKeys)
Definition:
CacheKey.php:26
Magento\Framework\View\Model\Layout
Definition:
CacheKey.php:6
Magento\Framework\View\Model\Layout\CacheKey\getCacheKeys
getCacheKeys()
Definition:
CacheKey.php:39
Magento\Framework\View\Model\Layout\CacheKey
Definition:
CacheKey.php:11