Submit
Path:
~
/
home
/
sbfocnqg
/
public_html
/
myadmin
/
vendor
/
phpmyadmin
/
motranslator
/
src
/
Cache
/
File Content:
CacheInterface.php
<?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; }
Submit
FILE
FOLDER
Name
Size
Permission
Action
ApcuCache.php
3811 bytes
0644
ApcuCacheFactory.php
741 bytes
0644
CacheFactoryInterface.php
249 bytes
0644
CacheInterface.php
832 bytes
0644
GetAllInterface.php
195 bytes
0644
InMemoryCache.php
999 bytes
0644
N4ST4R_ID | Naxtarrr