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
Cache
Config.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\Cache
;
9
10
class
Config
implements
ConfigInterface
11
{
15
protected
$_dataStorage
;
16
20
public
function
__construct
(\
Magento
\Framework\Cache\
Config
\Data $dataStorage)
21
{
22
$this->_dataStorage = $dataStorage;
23
}
24
30
public
function
getTypes
()
31
{
32
return
$this->_dataStorage->get(
'types'
, []);
33
}
34
41
public
function
getType
(
$type
)
42
{
43
return
$this->_dataStorage->get(
'types/'
.
$type
, []);
44
}
45
}
Magento\Framework\Cache\Config\$_dataStorage
$_dataStorage
Definition:
Config.php:15
Magento\Framework\Cache\Config\getTypes
getTypes()
Definition:
Config.php:30
Magento\Framework\Cache\Config\getType
getType($type)
Definition:
Config.php:41
$type
$type
Definition:
item.phtml:13
Magento\Framework\Cache\Config
Definition:
Config.php:10
Magento\Framework\Cache\Config\__construct
__construct(\Magento\Framework\Cache\Config\Data $dataStorage)
Definition:
Config.php:20
Magento\Framework\Cache\ConfigInterface
Definition:
ConfigInterface.php:14
Magento
Magento\Framework\Cache