__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace PhpMyAdmin\MoTranslator\Cache;
interface CacheInterface
{
/**
* Returns cached `msgstr` if it is in cache, otherwise `$msgid`
*/
public function get(string $msgid): string;
/**
* Caches `$msgstr` value for key `$mesid`
*/
public function set(string $msgid, string $msgstr): void;
/**
* Returns true if cache has entry for `$msgid`
*/
public function has(string $msgid): bool;
/**
* Populates cache with array of `$msgid => $msgstr` entries
*
* This will overwrite existing values for `$msgid`, but is not guaranteed to clear cache of existing entries
* not present in `$translations`.
*
* @param array<string, string> $translations
*/
public function setAll(array $translations): void;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ApcuCache.php | File | 3.72 KB | 0644 |
|
| ApcuCacheFactory.php | File | 741 B | 0644 |
|
| CacheFactoryInterface.php | File | 249 B | 0644 |
|
| CacheInterface.php | File | 832 B | 0644 |
|
| GetAllInterface.php | File | 195 B | 0644 |
|
| InMemoryCache.php | File | 999 B | 0644 |
|