/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/App/Cache/StateInterface.php
37 строк
720 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Framework\App\Cache; /** * @api * @since 100.0.2 */ interface StateInterface { /** * Whether a cache type is enabled at the moment or not * * @param string $cacheType * @return bool */ public function isEnabled($cacheType); /** * Enable/disable a cache type in run-time * * @param string $cacheType * @param bool $isEnabled * @return void */ public function setEnabled($cacheType, $isEnabled); /** * Save the current statuses (enabled/disabled) of cache types to the persistent storage * * @return void */ public function persist(); }