Automattic\WooCommerce\EmailEditorVendor\Pelago\Emogrifier\Utilities
DeclarationBlockParser::clearCache
Clears the static declaration block cache.
This should be called between processing separate HTML documents to prevent unbounded memory growth in long-running processes.
Метод класса: DeclarationBlockParser{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = DeclarationBlockParser::clearCache(): void;
Код DeclarationBlockParser::clearCache() DeclarationBlockParser::clearCache WC 11.3.0
public static function clearCache(): void
{
self::$cache = [];
}