<?php
// SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue
// SPDX-License-Identifier: BSD-3-Clause
declare(strict_types=1);
namespace SimplePie\Cache;
/**
* Interface for creating a cache filename
*/
interface NameFilter
{
/**
* Method to create cache filename with.
*
* The returning name MUST follow the rules for keys in PSR-16.
*
* @link https://www.php-fig.org/psr/psr-16/
*
* The returning name MUST be a string of at least one character
* that uniquely identifies a cached item, MUST only contain the
* characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding
* and MUST not longer then 64 characters. The following characters
* are reserved for future extensions and MUST NOT be used: {}()/\@:
*
* A provided implementing library MAY support additional characters
* and encodings or longer lengths, but MUST support at least that
* minimum.
*
* @param string $name The name for the cache will be most likely an url with query string
*
* @return string the new cache name
*/
public function filter(string $name): string;
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| Base.php | 2026-02-23 19:41 | 1.83 KB | 76129f60960:kunden | -xw-x----- | |
| BaseDataCache.php | 2026-02-23 19:41 | 3.5 KB | 76129f60960:kunden | -xw-x----- | |
| CallableNameFilter.php | 2026-02-23 19:41 | 1.48 KB | 76129f60960:kunden | -xw-x----- | |
| DB.php | 2026-02-23 19:41 | 3.62 KB | 76129f60960:kunden | -xw-x----- | |
| DataCache.php | 2026-02-23 19:41 | 2.73 KB | 76129f60960:kunden | -xw-x----- | |
| File.php | 2026-02-23 19:41 | 2.91 KB | 76129f60960:kunden | -xw-x----- | |
| Memcache.php | 2026-02-23 19:41 | 3.63 KB | 76129f60960:kunden | -xw-x----- | |
| Memcached.php | 2026-02-23 19:41 | 3.74 KB | 76129f60960:kunden | -xw-x----- | |
| MySQL.php | 2026-02-23 19:41 | 13.38 KB | 76129f60960:kunden | -xw-x----- | |
| NameFilter.php | 2026-02-23 19:41 | 1.15 KB | 76129f60960:kunden | -xw-x----- | |
| Psr16.php | 2026-02-23 19:41 | 3.18 KB | 76129f60960:kunden | -xw-x----- | |
| Redis.php | 2026-02-23 19:41 | 4.2 KB | 76129f60960:kunden | -xw-x----- | |