at path:
ROOT
/
wp-includes
/
SimplePie
/
src
/
Cache
/
Base.php
run:
R
W
Run
Base.php
1.83 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
BaseDataCache.php
3.5 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
CallableNameFilter.php
1.48 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
DB.php
3.62 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
DataCache.php
2.73 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
File.php
2.91 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
Memcache.php
3.63 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
Memcached.php
3.74 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
MySQL.php
13.38 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
NameFilter.php
1.15 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
Psr16.php
3.18 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
Redis.php
4.2 KB
2025-12-03 06:22:56
R
W
Run
Delete
Rename
error_log
31.36 KB
2026-02-05 10:55:22
R
W
Run
Delete
Rename
error_log
up
📄
Base.php
Save
<?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); namespace SimplePie\Cache; /** * Base for cache objects * * Classes to be used with {@see \SimplePie\Cache::register()} are expected * to implement this interface. * * @deprecated since SimplePie 1.8.0, use "Psr\SimpleCache\CacheInterface" instead */ interface Base { /** * Feed cache type * * @var string */ public const TYPE_FEED = 'spc'; /** * Image cache type * * @var string */ public const TYPE_IMAGE = 'spi'; /** * Create a new cache object * * @param string $location Location string (from SimplePie::$cache_location) * @param string $name Unique ID for the cache * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data */ public function __construct(string $location, string $name, $type); /** * Save data to the cache * * @param array<mixed>|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property * @return bool Successfulness */ public function save($data); /** * Retrieve the data saved to the cache * * @return array<mixed> Data for SimplePie::$data */ public function load(); /** * Retrieve the last modified time for the cache * * @return int Timestamp */ public function mtime(); /** * Set the last modified time to the current time * * @return bool Success status */ public function touch(); /** * Remove the cache * * @return bool Success status */ public function unlink(); } class_alias('SimplePie\Cache\Base', 'SimplePie_Cache_Base');